aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-06-13Omit declaration of optind/optargHEADmasterGravatar Steven Schubiger 1-4/+0
fixes: warning: ‘optind’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] fixes: warning: ‘optarg’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] https://github.com/stsc/colorize/issues/1 Thanks Stephan Jauernick
2022-06-12Add comment that getpwuid() leaks memoryGravatar Steven Schubiger 1-0/+1
2022-01-02Cast argument to unsigned char when invoking to{lower,upper}()Gravatar Steven Schubiger 1-3/+3
2022-01-02Cast argument to unsigned char when invoking is*()Gravatar Steven Schubiger 1-9/+9
fixes: warning: array subscript has type ‘char’ [-Wchar-subscripts] https://github.com/stsc/colorize/issues/1 Thanks Stephan Jauernick
2021-12-14main(): amend wording of diagnosticGravatar Steven Schubiger 1-1/+1
2021-01-08Makefile: declare readme target as phonyGravatar Steven Schubiger 1-1/+1
2021-01-08Merge branch 'stack_release_vars'Gravatar Steven Schubiger 1-45/+109
2020-12-30main(): postpone invoking STACK_FILE(log)Gravatar Steven Schubiger 1-1/+5
2020-12-30release(): strengthen check for equal pointersGravatar Steven Schubiger 1-1/+2
2020-12-29Guard against fallthrough in switch statementGravatar Steven Schubiger 1-3/+4
2020-12-29release(): fix indentation of closing braceGravatar Steven Schubiger 1-1/+1
2020-12-29Release also FILE pointersGravatar Steven Schubiger 1-44/+94
- stack(): save pointer and type in array of struct - release(): free and clear accordingly - cleanup(): free accordingly - Add STACK_FILE() macro - Close streams through RELEASE() - Rename RELEASE_VAR() macro to generic RELEASE() - Rename stack_var() function to stack() - Rename release_var() function to release()
2020-12-25Stack and release varsGravatar Steven Schubiger 1-10/+18
2020-12-17Emit more concise error message when config file does not existGravatar Steven Schubiger 1-11/+13
2020-06-25debian/control: update Homepage linkGravatar Steven Schubiger 2-1/+7
to point to the repository about page.
2020-06-22Generate README.cgit from READMEGravatar Steven Schubiger 3-0/+123
2020-06-10Merge multiple vfprintf_fail() calls for --clean[-all]Gravatar Steven Schubiger 1-8/+1
2020-05-28Test purposeless switches with --clean[-all]Gravatar Steven Schubiger 1-1/+9
2020-05-12main(): warn for purposeless switches with --clean[-all]Gravatar Steven Schubiger 1-1/+15
2020-03-28Move conf file path code to a functionGravatar Steven Schubiger 1-19/+27
2020-03-28process_opt_exclude_random(): don't check for non-NULLnessGravatar Steven Schubiger 1-2/+1
because release_var() already does so.
2020-03-26init_conf_vars(): use explicit format stringGravatar Steven Schubiger 1-1/+1
2020-03-25assign_conf(): reduce code duplicationGravatar Steven Schubiger 1-16/+9
2020-03-20colorize 0.65v0.65Gravatar Steven Schubiger 3-5/+6
2020-03-20Update Debian Standards-VersionGravatar Steven Schubiger 2-2/+4
2020-03-19debian/changelog: add log messageGravatar Steven Schubiger 1-1/+2
2020-03-19debian/copyright: amend yearsGravatar Steven Schubiger 1-2/+2
2020-03-19debian/changelog: reword log messageGravatar Steven Schubiger 1-2/+2
Thanks Axel Beckert
2020-01-21debian/control: adjust Build-DependsGravatar Steven Schubiger 3-3/+3
P: colorize source: package-uses-old-debhelper-compat-version 9
2020-01-21debian/control: declare Rules-Requires-RootGravatar Steven Schubiger 2-1/+3
P: colorize source: rules-requires-root-missing
2020-01-14debian/copyright: update link to HTTPSGravatar Steven Schubiger 2-1/+7
2020-01-14Add Debian-Release instruction hintsGravatar Steven Schubiger 1-0/+14
Thanks Axel Beckert
2019-10-07process_opt_exclude_random(): fix typoGravatar Steven Schubiger 1-1/+1
2019-09-21Fix using color from config with hyphenGravatar Steven Schubiger 2-9/+14
2019-09-18Silence -Wimplicit-fallthrough= warningGravatar Steven Schubiger 1-0/+1
2019-09-17parse_conf(): minor tweaksGravatar Steven Schubiger 3-5/+44
- Parse lines with CRLF endings - Separate the '#' sign from the option name
2019-09-13Add TODOGravatar Steven Schubiger 1-0/+1
2019-09-13Merge branch 'config_file'Gravatar Steven Schubiger 13-53/+774
2019-09-10Update plain documentationGravatar Steven Schubiger 1-1/+2
2019-09-07Mention config file in READMEGravatar Steven Schubiger 1-0/+6
2019-09-01Add config short option -cGravatar Steven Schubiger 3-15/+27
2019-08-30Print line number when exceeding charsGravatar Steven Schubiger 2-2/+4
2019-08-28Test --configGravatar Steven Schubiger 1-0/+47
2019-08-27Introduce --configGravatar Steven Schubiger 2-24/+96
2019-08-22Document config file usageGravatar Steven Schubiger 1-1/+52
2019-08-20Const DESC_TYPEGravatar Steven Schubiger 1-1/+1
2019-08-18Add new test filesGravatar Steven Schubiger 6-0/+317
2019-08-18Invoke new test filesGravatar Steven Schubiger 1-2/+4
2019-08-18Compile with -DTEST for testingGravatar Steven Schubiger 1-2/+2
2019-08-18First draft of config file parsingGravatar Steven Schubiger 1-40/+251