Commit Graph

18110 Commits

Author SHA1 Message Date
Jim Meyering
d49a6c1a2b . 2004-03-31 07:48:14 +00:00
Jim Meyering
5e598b08d8 . 2004-03-31 07:47:35 +00:00
Jim Meyering
6370636c51 file was essentially empty 2004-03-31 07:47:26 +00:00
Jim Meyering
ebced306a5 *** empty log message *** 2004-03-31 07:44:02 +00:00
Jim Meyering
6617b2ded8 Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2004-03-31 07:43:57 +00:00
Jim Meyering
d63e8ee800 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2004-03-31 07:43:41 +00:00
Jim Meyering
e9aa2f03d3 *** empty log message *** 2004-03-30 15:12:53 +00:00
Jim Meyering
1053d6117e add comments 2004-03-30 15:12:44 +00:00
Jim Meyering
f4dab6dd4f (sc_prohibit_atoi_atof): New rule.
(syntax-check-rules): Add it.
2004-03-30 15:11:24 +00:00
Jim Meyering
3840db865c *** empty log message *** 2004-03-30 15:10:27 +00:00
Jim Meyering
000d43c489 *** empty log message *** 2004-03-30 13:50:48 +00:00
Jim Meyering
922e4e22cc Merge changes from emacs (via gnulib). 2004-03-30 13:50:44 +00:00
Jim Meyering
739d31dc66 *** empty log message *** 2004-03-29 12:31:27 +00:00
Jim Meyering
bdf73f8b49 *** empty log message *** 2004-03-29 09:38:04 +00:00
Jim Meyering
5b9fbf4310 *** empty log message *** 2004-03-29 09:37:56 +00:00
Jim Meyering
701ddad1e7 Use new OUT_SUBST directive, so that this
test is not sensitive to system-dependent block size differences.
2004-03-29 09:37:23 +00:00
Jim Meyering
d9d757dd2c *** empty log message *** 2004-03-29 09:23:41 +00:00
Jim Meyering
216904e67c Accept new directives: OUT_SUBST, ERR_SUBST.
Rename `%tmp' to `%actual'.  Reverse order of last two args to
_compare_files (to actual, $expected) so as to match declaration.
2004-03-29 09:23:36 +00:00
Jim Meyering
1cf3f4352a *** empty log message *** 2004-03-29 07:33:23 +00:00
Jim Meyering
ba894b1ea1 [HAVE_SETHOSTNAME && !defined sethostname]:
Declare sethostname, since no Solaris header does it.
2004-03-29 07:30:09 +00:00
Jim Meyering
6de63bb739 Include "vasprintf.h", for asprintf. 2004-03-29 07:29:49 +00:00
Jim Meyering
a3bae2f417 *** empty log message *** 2004-03-29 07:29:23 +00:00
Jim Meyering
edf60899e0 [HAVE_UNISTD_H]: Include <unistd.h>, for resolvepath declaration. 2004-03-29 07:29:06 +00:00
Jim Meyering
829a38c5d3 Include dirfd.h, for dirfd. 2004-03-29 07:28:52 +00:00
Jim Meyering
6ae7ae9525 *** empty log message *** 2004-03-28 21:44:01 +00:00
Jim Meyering
ca6d256f12 Minor optimization:
(process_file): Don't record dev/inode for directories.

Under some circumstances, without -c, du would mistakenly count the
space of hard-linked files, not just the first one it encountered.
Reported by Anthony Thyssen.
(du_files): Don't ever clear the set of `seen' dev/inodes.
2004-03-28 21:43:50 +00:00
Jim Meyering
9e77380c9f Correct the indentation of a foreach loop. 2004-03-28 08:21:45 +00:00
Jim Meyering
40b31c6a65 *** empty log message *** 2004-03-27 15:52:44 +00:00
Jim Meyering
a35cbe5258 (print_grand_total): Rename global from `print_totals'. 2004-03-27 15:44:23 +00:00
Jim Meyering
af19505321 *** empty log message *** 2004-03-27 09:11:30 +00:00
Jim Meyering
e95d9e93d9 (main): Rearrange filtering loop to be a tiny bit more efficient. 2004-03-27 09:11:25 +00:00
Jim Meyering
960c069c1b *** empty log message *** 2004-03-27 08:43:56 +00:00
Jim Meyering
ba1a527bdd Don't include savedir.h -- no longer needed. 2004-03-27 08:43:36 +00:00
Jim Meyering
baefee7c56 *** empty log message *** 2004-03-25 20:47:50 +00:00
Jim Meyering
bb9fed5faa (main): Remove now-unused declaration of `i'. 2004-03-25 17:35:29 +00:00
Jim Meyering
ac6954ac17 (main): Filter out file names of length zero before
invoking fts, so that they don't cause fatal errors.
2004-03-25 17:34:11 +00:00
Jim Meyering
98529c8bfc (zero-len): Add a test for the above. 2004-03-25 17:33:56 +00:00
Jim Meyering
f11cd8f5c4 . 2004-03-24 18:08:55 +00:00
Jim Meyering
ebe3477b72 Test for BLOCKSIZE. Factor the code to simplify it. 2004-03-24 17:40:29 +00:00
Jim Meyering
2a6326a83d *** empty log message *** 2004-03-24 17:39:01 +00:00
Jim Meyering
103a7608b7 New environment var BLOCKSIZE. 2004-03-24 17:38:58 +00:00
Jim Meyering
875d295290 *** empty log message *** 2004-03-24 17:38:21 +00:00
Jim Meyering
98e876d783 (Block size): Document new envvar BLOCKSIZE. 2004-03-24 17:38:17 +00:00
Jim Meyering
d2ec7be5c3 *** empty log message *** 2004-03-24 17:37:08 +00:00
Jim Meyering
226248d531 (humblock): Support BLOCKSIZE envvar, as well as BLOCK_SIZE. 2004-03-24 17:36:57 +00:00
Jim Meyering
b3601c900a . 2004-03-24 15:19:40 +00:00
Jim Meyering
a3be161671 Adjust to above changes to src/du.c. 2004-03-24 15:14:22 +00:00
Jim Meyering
4f37ca2cf3 Shorten the du --files0-from announcement, and say
"NUL-terminated" rather than "NUL-separated".
2004-03-24 15:14:08 +00:00
Jim Meyering
85736716ad *** empty log message *** 2004-03-24 15:14:00 +00:00
Jim Meyering
210d765150 (EXPECTED_BYTES_PER_FILE_NAME, DEFAULT_PROJECTED_N_FILES):
Remove: not used.
(usage): Say "NUL-terminated", not "NUL-separated".
(main): Check for I/O error when istream is closed.
Allow --files0-from=F even if F is empty; this specifies no files.
(du_files): Now that we allow the list of files to be empty,
handle that case.
2004-03-24 15:13:55 +00:00