summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-07-02.Jim Meyering
2005-07-01Assume HAVE_UNISTD_H.Jim Meyering
2005-07-01Assume HAVE_FCNTL_H (i.e., include <fcntl.h>Jim Meyering
unconditionally, and don't include <sys/file.h>).
2005-06-30.Jim Meyering
2005-06-30Add uses of ARGMATCH_VERIFY to ensure thatJim Meyering
corresponding option string and value arrays are consistent.
2005-06-30Add uses of ARGMATCH_VERIFY to ensure thatJim Meyering
corresponding option string and value arrays are consistent. Remove a harmless trailing `, 0' from a value list.
2005-06-30Add uses of ARGMATCH_VERIFY to ensure thatJim Meyering
corresponding option string and value arrays are consistent. Remove a harmless trailing `, 0' from a value list.
2005-06-30(VERIFY): Guard definition with #ifndef.Jim Meyering
(VERIFY_EXPR): Undef before defining.
2005-06-29Use one fewer helper macro.Jim Meyering
2005-06-29(main): Use X2REALLOC rather than x2realloc.Jim Meyering
2005-06-29(fillbuf): Use X2REALLOC rather than x2realloc.Jim Meyering
2005-06-29(show_date): Use X2REALLOC rather than x2realloc.Jim Meyering
2005-06-29(main, store_char): Use X2REALLOC rather than x2realloc.Jim Meyering
2005-06-29Update sole use of VERIFY.Jim Meyering
Use X2REALLOC, rather than x2realloc.
2005-06-29(VERIFY): Rewrite to use string-concatenationJim Meyering
and __LINE__ so as not to require a struct name parameter. (GL_CONCAT, GL_CONCAT2, GL_LINE_CONCAT): Define helper macros.
2005-06-29(gobble_file): Use stat.st_author, not stat.st_uidJim Meyering
when computing the --author column width. This bug might have resulted in misaligned columns when using the --author option on the Hurd. Spotted by Arnold Robbins. The bug was introduced on 2003-12-03.
2005-06-28split long line in copyright commentJim Meyering
2005-06-28(fillbuf): Use x2realloc on 1-byte base types, not x2nrealloc.Jim Meyering
2005-06-28(dump_strings): Use x2realloc on 1-byte base types, not x2nrealloc.Jim Meyering
2005-06-28(show_date): Use x2realloc on 1-byte base types, not x2nrealloc.Jim Meyering
2005-06-28(main, store_char): Use x2realloc on 1-byte base types, not x2nrealloc.Jim Meyering
2005-06-27.Jim Meyering
2005-06-24.Jim Meyering
2005-06-24(usage): Clarify how --reply=no works.Jim Meyering
2005-06-23Do not include hard-locale.h.Paul Eggert
(struct duinfo): Remove 'valid' member. All uses changed to use negative nsec instead. (DUIINFO_INI, DUINFO_SET, DUINFO_ADD): Remove. (duinfo_init, duinfo_set, duinfo_add): New functions, taking the role of the removed macros. (opt_time): Renamed from opt_last_time. All uses changed. (TIME_OPTION): Renamed from LAST_TIME_OPTION. All uses changed. (long_options, usage): Rename --last-time to --time. (locale_time_style): Remove. (time_style_args, time_style_types, usage): Remove support for --time-style=locale. (show_date): Now returns void, since nobody looked at the result. Assume FORMAT is not null. An empty FORMAT now outputs an empty time. Simplify nstrftime invocation. (main): Put in ls compatibility workarounds only for TIME_STYLE, not for --time-style. Omit unnecessary space in iso time style.
2005-06-23whoops: use puts, not fputsJim Meyering
2005-06-23(time_format): Add `const' attribute.Jim Meyering
2005-06-23(show_date): Use fputs rather than printf ("%s\n",.Jim Meyering
2005-06-23(show_date): Add a FIXME comment.Jim Meyering
2005-06-23(show_date): Rename local `time_format' so as not toJim Meyering
shadow the file-scoped global by that name.
2005-06-23.Jim Meyering
2005-06-23(usage): Tweak formatting to maintain more or less constant indentation.Jim Meyering
2005-06-23Include hard-locale.h and strftime.h.Jim Meyering
(DUINFO_INI, DUINFO_SET, DUINFO_ADD): Enclose body in `do {...} while (0)', not just `{...}'. Adjust uses (add semicolons). Adjust formatting, indentation.
2005-06-232005-06-14 William Brendling <wbrendling@gmail.com>Jim Meyering
* src/du.c: Add --last-time and --time-style options.
2005-06-22Include "quotearg.h", not "quote.h".Jim Meyering
(remove_parents, main): Use quotearg_colon, not quote.
2005-06-20.Jim Meyering
2005-06-19(tac_mem, tac_stdin_to_mem): Remove #if-0'd functions.Jim Meyering
2005-06-19(usage): Use `file system', not `filesystem'.Jim Meyering
2005-06-18(unquote): Remove unnecessary `' quotes from a diagnostic.Jim Meyering
2005-06-17Don't embed `this'-style quotes in format strings.Jim Meyering
Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-06-17(usage): Clarify that shred works on an ext3 fileJim Meyering
system as long as it's not in data=journal mode. Tiny change by Mark Melahn.
2005-06-16* src/hostid.c (main): Don't print fewer than 8 digits, or spurious leading "f".Paul Eggert
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Include "quote.h". Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-06-16whoops: Adding quote(...) isn't enough :)Jim Meyering
remove quotes from the string, too.
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Include "quote.h". Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Include "quote.h". Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Include "quote.h". Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Include "quote.h". Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Include "quote.h". Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Include "quote.h". Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));