summaryrefslogtreecommitdiff
path: root/src/readlink.c
AgeCommit message (Collapse)Author
2006-11-27Improve the check for departures from C89, and fix the departuresPaul Eggert
I found. * Makefile.maint (my-distcheck): Also check for C89 compatibility as best we can with GCC. * src/stat.c (PRINTF_OPTION): Omit comma before } in enum declaration; C89 doesn't allow this. * src/dcgen: Don't generate string literals longer than what C89 requires support for. * src/cut.c (usage): Don't use string literals longer than what C89 requires support for. * src/date.c (usage): Likewise. * src/dd.c (usage): Likewise. * src/du.c (usage): Likewise. * src/ls.c (usage): Likewise. * src/od.c (usage): Likewise. * src/readlink.c (usage): Likewise. * src/seq.c (usage): Likewise. * src/shred.c (usage): Likewise.
2005-06-02(usage): Don't use "path" to describe a file name.Paul Eggert
2005-05-14Update FSF postal mail address.Jim Meyering
2005-05-14Update FSF postal mail address.Jim Meyering
2005-03-28(longopts): Use NULL, not `0'.Jim Meyering
2004-11-17(main): argv is not const.Paul Eggert
2004-09-21Don't include "long-options.h".Paul Eggert
(main): Remove unused "case 0".
2004-08-09(canonicalize_fname): Remove unneeded proxy function.Paul Eggert
(can_mode): Make variable local.
2004-08-03(canonicalize): Remove. All uses now merely inspect can_mode.Paul Eggert
(no_newline, verbose): Use bool for booleans. (can_mode): Now of type int; use -1 to denote otherwise-uninitialized.
2004-07-06Change "readlink -f" to be more compatible with prior implementations.Jim Meyering
Add more canonicalize options, -e and -m. Add comprehensive tests for all readlink modes. (longopts): Add new options. (usage): Document them. (canonicalize_fname): New proxy function. (main): Handle new options.
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-06-01(main): Update use of xreadlink.Jim Meyering
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-23Don't include stdlib.h, unistd.h, or limits.h; system.h already does it.Jim Meyering
2003-06-17Include sys/types.h before system.h (becauseJim Meyering
the latter includes sys/stat.h). Required on Ultrix 4.3.
2003-06-17(main): Call initialize_main.Jim Meyering
2003-05-10(main): Set program_name before first use.Jim Meyering
Remove that (redundant) first use. Don't exit successfully just because --verbose was specified. Pass 0, not EXIT_SUCCESS, as first argument to error; when that parameter is 0, error does not exit.
2003-01-19Include "canonicalize.h".Jim Meyering
2003-01-09copyrightJim Meyering
2003-01-09New program, by Dmitry V. Levin.Jim Meyering