summaryrefslogtreecommitdiff
path: root/src/dircolors.c
AgeCommit message (Collapse)Author
2005-04-11(dc_parse_file): Don't assume fopen does not return stdin.Paul Eggert
2005-03-26(parse_line): Use char *, not unsigned char *. This avoids casts.Paul Eggert
(dc_parse_stream, main): Avoid casts. Adjust to simpler data structure generated by new dcgen.
2004-08-02(have_read_stdin, append_quoted,Paul Eggert
dc_parse_stream, dc_parse_file, main): Use bool for booleans. (dc_parse_stream): Use enum for state, rather than int. Use ssize_t to store getline result.
2004-06-21(main): Standardize on the diagnostics given when someone givesJim Meyering
too few operands ("missing operand after `xxx'") or too many operands ("extra operand `xxx'"). Include "quote.h" and/or "error.h" if it wasn't already being included.
2004-01-21(usage): Use EXIT_SUCCESS, not 0, for clarity.Jim Meyering
(usage): Don't bother normalizing exit status since the arg is already the correct exit status now.
2003-10-18Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS changeJim Meyering
of 2003-09-19. Now, AUTHORS is a comma-separated list of strings. Update the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. * src/true.c (main): Append NULL to version_etc argument list. * src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise.
2003-09-18(WRITTEN_BY): Rename from AUTHORS.Jim Meyering
Begin each WRITTEN_BY string with `Written by ' and end it with `.'. Mark each WRITTEN_BY string as translatable.
2003-07-23Include xstrndup.h.Jim Meyering
(xstrndup): Remove function, now that it's been factored out into it's own file.
2003-06-17(main): Call initialize_main.Jim Meyering
2002-12-01Don't include <ctype.h>.Jim Meyering
That's already done via system.h.
2002-08-31Change `exit (0)' to `exit (EXIT_SUCCESS)',Jim Meyering
`exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'.
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2001-12-02Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTIONJim Meyering
instead of hard-coding --help and --version descriptions.
2001-11-23Split usage strings so that --help and --versionJim Meyering
descriptions are alone in their own string.
2001-11-23(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-05-12include dirname.h.Jim Meyering
2000-08-08(xstrndup): Invoke xalloc_die instead of printing our own message.Jim Meyering
2000-07-30include quote.h.Jim Meyering
2000-07-30Convert "`%s'" in format strings to "%s", and wrap eachJim Meyering
corresponding argument in a `quote (...)' call.
2000-07-09update copyright dateJim Meyering
2000-05-13Arrange to call close_stdout only upon exit.Jim Meyering
2000-05-03Remove declaration of strndup.Jim Meyering
1999-04-04define/use AUTHORSJim Meyering
1999-03-31Don't include closeout.h or version-etc.h explicitly. Now, they're included ↵Jim Meyering
via sys2.h.
1999-03-26No longer include long-options.h.Jim Meyering
Include version-etc.h instead. (PROGRAM_NAME, AUTHORS): Define. [long_options]: Add entries for --help and --version. Remove parse_long_options call. (main) [getopt switch]: Add a case for each of --help and --version.
1999-03-04Include long-options.hJim Meyering
[long_options]: Remove the "help" and "version" entries. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks.
1999-02-16update copyright datesJim Meyering
1999-02-14(dc_parse_stream): Don't try to dereference NULLJim Meyering
if there's an error is in our built-in list.
1999-02-09(slack_codes): Add "DOOR".Jim Meyering
(ls_codes): Add corresponding "do".
1999-01-16Don't declare base_name.Jim Meyering
(usage): Don't make it static so that it can be called from libfu.a by xargmatch.
1998-09-19update bug-reporting addressJim Meyering
1998-08-26(dc_parse_stream): Don't segfault when a lineJim Meyering
contains only one token. Reported by Olav Morkrid.
1998-07-05(parse_line): Add casts to avoid errors from Irix4's `cc' C compiler.Jim Meyering
From Kaveh Ghazi.
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-04-28(parse_line): Use ISSPACE, not isspace.Jim Meyering
Use unsigned char * pointers, not potentially signed ones, to avoid sign extension.
1998-04-14Use STREQ in string equality tests, not strcmp.Jim Meyering
1998-03-15Use #if, not #ifdef with HAVE_ macros.Jim Meyering
Use #if !, not #ifndef with HAVE_ macros.
1998-01-04(main, usage): Check for write error to stdout before exiting.Jim Meyering
Include "closeout.h".
1997-10-23Remove free and malloc decls.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-08-31[!STDC_HEADERS]: Declare malloc.Jim Meyering
1997-05-27Use base_name, not basename.Jim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-02[obstack_chunk_alloc]: Define to malloc, not xmallocJim Meyering
to work better with new obstack functions.
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1997-01-26Revert last change. With obstack, dcl of free is *required*.Jim Meyering
1997-01-15[!STDC_HEADERS]: Remove unnecessary declaration of free.Jim Meyering
1996-12-19(usage): Remove --print-data-base.Jim Meyering
Now only --print-database remains. Although it wasn't documented, --print-data-base was still accepted. But it made `--p', `--print', `--print-data', etc. ambiguous.