summaryrefslogtreecommitdiff
path: root/src/du.c
AgeCommit message (Collapse)Author
1997-05-25(convert_blocks): Remove now-unnecessary #undef.Jim Meyering
(du_files): Pass output_size unchanged to convert_blocks. No need to test output_size for size_bytes, convert_blocks handles that correctly. (count_entry): Likewise.
1997-05-25(main): Implement new --max-depth=N option.Jim Meyering
Based on the idea and a patch from Torbjorn Lindgren. (du_files): Likewise. (count_entry): Likewise. [AIX]: Remove unused #pragma alloca.
1997-03-27(main): Implement new --max-depth=N option.Jim Meyering
Based on the idea and a patch from Torbjorn Lindgren. (du_files): Likewise. (count_entry): Likewise.
1997-02-09update copyrights for 1997Jim Meyering
1997-02-02(hash_insert2): Rename local HTAB to HT to avoid shadowing global.Jim Meyering
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-26(count_entry): Fix blatant bug (typo?) that madeJim Meyering
--megabytes report numbers in units of kilobytes. Reported by Galen Hazelwood.
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-05(main): update --version output to conform to coding standardJim Meyering
1996-10-04(main): update --version output to conform to coding standardJim Meyering
1996-08-31(usage): remove spurious trailing \n in puts.Jim Meyering
1996-08-29(usage): Tell where to report bugs.Jim Meyering
1996-07-14(usage): Sort option descriptions in dictionary order.Jim Meyering
1996-04-24(usage): The long-named arg is --human-readable, not --human.Jim Meyering
1996-04-24update Copyright years for 1996Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-12(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1996-02-01Remove comma after last item in enum.Jim Meyering
(human_readable): Fix off-by-one error that converted 1024*1024 to 1024K rather than 1G. Describe the function.
1996-01-20Tweak usage.Jim Meyering
1996-01-20(main): New options --human-readable (-h) and --megabytes (-m).Jim Meyering
(human_readable): New function. From Larry McVoy (lm@sgi.com).
1995-11-29Mark all translatable strings using po-mode.el.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-15Break long lines.Jim Meyering
1995-11-10Remove bogus __P junk on xstat dcl.Jim Meyering
1995-11-09Protect prototypes with __P.Jim Meyering
1995-11-09Protoize.Jim Meyering
1995-10-01Declare stat, xstat.Jim Meyering
1995-08-05(save_cwd, restore_cwd, free_cwd): Remove functions.Jim Meyering
New versions have been broken out into save-cwd.c. (du_files): Adapt to handle status code returned by new versions of save_cwd and restore_cwd. (count_entry): Likewise.
1995-06-22(main): Include program name in --version output.Jim Meyering
1995-05-22(usage): Add one or two lines of descriptive text.Jim Meyering
1995-05-13Use stat (lstat), not safe_stat (safe_lstat).Jim Meyering
1995-03-10add 1995 to Copyright datesJim Meyering
1995-02-23(restore_cwd): Test whether fchdir return value is non-zero, not negative.Jim Meyering
Be consistent!
1995-02-23(save_cwd) [!HAVE_FCHDIR]: Avoid a core dump via abort() which occurredJim Meyering
because cwd->desc was uninitialed. (restore_cwd) [!HAVE_FCHDIR]: Remove unnecessary redefinition of fchdir. Both from Bruno Haible.
1995-02-21(count_entry): Fix bug in polarity of safe-stat status test.Jim Meyering
1995-02-21(save_cwd, restore_cwd): New functions.Jim Meyering
(main): Use them instead of in-line versions. (count_entry): Use them here instead of relying on chdir ("..") -- but only when necessary. Before, with --dereference (-L), traversing a symlink caused failure because chdir ("..") didn't work as expected. Reported by Bruno Haible.
1995-01-27Rename SAFE_STAT and SAFE_LSTAT to lower case names.Jim Meyering
1994-12-27Include "error.h" rather than simply declaring `void error ();'.Jim Meyering
1994-12-03(du_files): Handle very low-probability fchdir failure (when errno != 0Jim Meyering
&& errno != EINVAL).
1994-12-03(du_files): Variable name changes.Jim Meyering
1994-12-03(du_files): Work around SunOS restriction that fchdir doesn't work whenJim Meyering
accounting is enabled -- modelled after djm's find.c mods.
1994-10-27.Jim Meyering
1994-10-20merge with 3.9pJim Meyering
1994-10-02.Jim Meyering
1994-08-19merge with 3.9fJim Meyering
1994-08-19.Jim Meyering