Jim Meyering [Thu, 1 Apr 2004 17:12:22 +0000 (17:12 +0000)]
remove obsolete comment
Jim Meyering [Wed, 31 Mar 2004 17:32:11 +0000 (17:32 +0000)]
also check for atoll
Jim Meyering [Wed, 31 Mar 2004 09:01:47 +0000 (09:01 +0000)]
.
Jim Meyering [Wed, 31 Mar 2004 08:39:35 +0000 (08:39 +0000)]
*** empty log message ***
Jim Meyering [Wed, 31 Mar 2004 08:39:22 +0000 (08:39 +0000)]
(run_tests): Remove `.orig' file.
Remove debugging diagnostic.
Jim Meyering [Wed, 31 Mar 2004 08:30:22 +0000 (08:30 +0000)]
*** empty log message ***
Jim Meyering [Wed, 31 Mar 2004 08:27:27 +0000 (08:27 +0000)]
whoops. Remove old code, too, <blush>.
Jim Meyering [Wed, 31 Mar 2004 08:25:13 +0000 (08:25 +0000)]
*** empty log message ***
Jim Meyering [Wed, 31 Mar 2004 08:25:04 +0000 (08:25 +0000)]
Specifying an invalid --width=N (-w) or --gap-size=N (-g)
would not elicit an error.
Include "xstrtol.h" and "quotearg.h".
(main): Don't use atoi. Use xstrtoul instead.
Jim Meyering [Wed, 31 Mar 2004 07:49:30 +0000 (07:49 +0000)]
.
Jim Meyering [Wed, 31 Mar 2004 07:48:14 +0000 (07:48 +0000)]
.
Jim Meyering [Wed, 31 Mar 2004 07:47:35 +0000 (07:47 +0000)]
.
Jim Meyering [Wed, 31 Mar 2004 07:47:26 +0000 (07:47 +0000)]
file was essentially empty
Jim Meyering [Wed, 31 Mar 2004 07:44:02 +0000 (07:44 +0000)]
*** empty log message ***
Jim Meyering [Wed, 31 Mar 2004 07:43:57 +0000 (07:43 +0000)]
Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
Jim Meyering [Wed, 31 Mar 2004 07:43:41 +0000 (07:43 +0000)]
* prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
Jim Meyering [Tue, 30 Mar 2004 15:12:53 +0000 (15:12 +0000)]
*** empty log message ***
Jim Meyering [Tue, 30 Mar 2004 15:12:44 +0000 (15:12 +0000)]
add comments
Jim Meyering [Tue, 30 Mar 2004 15:11:24 +0000 (15:11 +0000)]
(sc_prohibit_atoi_atof): New rule.
(syntax-check-rules): Add it.
Jim Meyering [Tue, 30 Mar 2004 15:10:27 +0000 (15:10 +0000)]
*** empty log message ***
Jim Meyering [Tue, 30 Mar 2004 13:50:48 +0000 (13:50 +0000)]
*** empty log message ***
Jim Meyering [Tue, 30 Mar 2004 13:50:44 +0000 (13:50 +0000)]
Merge changes from emacs (via gnulib).
Jim Meyering [Mon, 29 Mar 2004 12:31:27 +0000 (12:31 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 09:38:04 +0000 (09:38 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 09:37:56 +0000 (09:37 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 09:37:23 +0000 (09:37 +0000)]
Use new OUT_SUBST directive, so that this
test is not sensitive to system-dependent block size differences.
Jim Meyering [Mon, 29 Mar 2004 09:23:41 +0000 (09:23 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 09:23:36 +0000 (09:23 +0000)]
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.
Jim Meyering [Mon, 29 Mar 2004 07:33:23 +0000 (07:33 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 07:30:09 +0000 (07:30 +0000)]
[HAVE_SETHOSTNAME && !defined sethostname]:
Declare sethostname, since no Solaris header does it.
Jim Meyering [Mon, 29 Mar 2004 07:29:49 +0000 (07:29 +0000)]
Include "vasprintf.h", for asprintf.
Jim Meyering [Mon, 29 Mar 2004 07:29:23 +0000 (07:29 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 07:29:06 +0000 (07:29 +0000)]
[HAVE_UNISTD_H]: Include <unistd.h>, for resolvepath declaration.
Jim Meyering [Mon, 29 Mar 2004 07:28:52 +0000 (07:28 +0000)]
Include dirfd.h, for dirfd.
Jim Meyering [Sun, 28 Mar 2004 21:44:01 +0000 (21:44 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Mar 2004 21:43:50 +0000 (21:43 +0000)]
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.
Jim Meyering [Sun, 28 Mar 2004 08:21:45 +0000 (08:21 +0000)]
Correct the indentation of a foreach loop.
Jim Meyering [Sat, 27 Mar 2004 15:52:44 +0000 (15:52 +0000)]
*** empty log message ***
Jim Meyering [Sat, 27 Mar 2004 15:44:23 +0000 (15:44 +0000)]
(print_grand_total): Rename global from `print_totals'.
Jim Meyering [Sat, 27 Mar 2004 09:11:30 +0000 (09:11 +0000)]
*** empty log message ***
Jim Meyering [Sat, 27 Mar 2004 09:11:25 +0000 (09:11 +0000)]
(main): Rearrange filtering loop to be a tiny bit more efficient.
Jim Meyering [Sat, 27 Mar 2004 08:43:56 +0000 (08:43 +0000)]
*** empty log message ***
Jim Meyering [Sat, 27 Mar 2004 08:43:36 +0000 (08:43 +0000)]
Don't include savedir.h -- no longer needed.
Jim Meyering [Thu, 25 Mar 2004 20:47:50 +0000 (20:47 +0000)]
*** empty log message ***
Jim Meyering [Thu, 25 Mar 2004 17:35:29 +0000 (17:35 +0000)]
(main): Remove now-unused declaration of `i'.
Jim Meyering [Thu, 25 Mar 2004 17:34:11 +0000 (17:34 +0000)]
(main): Filter out file names of length zero before
invoking fts, so that they don't cause fatal errors.
Jim Meyering [Thu, 25 Mar 2004 17:33:56 +0000 (17:33 +0000)]
(zero-len): Add a test for the above.
Jim Meyering [Wed, 24 Mar 2004 18:08:55 +0000 (18:08 +0000)]
.
Jim Meyering [Wed, 24 Mar 2004 17:40:29 +0000 (17:40 +0000)]
Test for BLOCKSIZE. Factor the code to simplify it.
Jim Meyering [Wed, 24 Mar 2004 17:39:01 +0000 (17:39 +0000)]
*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 17:38:58 +0000 (17:38 +0000)]
New environment var BLOCKSIZE.
Jim Meyering [Wed, 24 Mar 2004 17:38:21 +0000 (17:38 +0000)]
*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 17:38:17 +0000 (17:38 +0000)]
(Block size): Document new envvar BLOCKSIZE.
Jim Meyering [Wed, 24 Mar 2004 17:37:08 +0000 (17:37 +0000)]
*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 17:36:57 +0000 (17:36 +0000)]
(humblock): Support BLOCKSIZE envvar, as well as BLOCK_SIZE.
Jim Meyering [Wed, 24 Mar 2004 15:19:40 +0000 (15:19 +0000)]
.
Jim Meyering [Wed, 24 Mar 2004 15:14:22 +0000 (15:14 +0000)]
Adjust to above changes to src/du.c.
Jim Meyering [Wed, 24 Mar 2004 15:14:08 +0000 (15:14 +0000)]
Shorten the du --files0-from announcement, and say
"NUL-terminated" rather than "NUL-separated".
Jim Meyering [Wed, 24 Mar 2004 15:14:00 +0000 (15:14 +0000)]
*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 15:13:55 +0000 (15:13 +0000)]
(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.
Jim Meyering [Wed, 24 Mar 2004 15:12:39 +0000 (15:12 +0000)]
Use @sc{nul} consistently for NUL.
(du invocation): FILE0 -> FILE.
Jim Meyering [Wed, 24 Mar 2004 15:12:14 +0000 (15:12 +0000)]
*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 15:12:11 +0000 (15:12 +0000)]
(check-texinfo): Add a check to ensure future
consistency in using @sc{nul}, not `NUL'.
Jim Meyering [Wed, 24 Mar 2004 14:45:23 +0000 (14:45 +0000)]
*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 14:45:17 +0000 (14:45 +0000)]
(readtokens0): Return true on success rather
than on failure. All callers changed. This also happens to fix a
portability bug on pre-C99 hosts, where (bool) INTEGER sometimes
returns false even when INTEGER is nonzero.
Jim Meyering [Wed, 24 Mar 2004 13:42:44 +0000 (13:42 +0000)]
*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 12:13:12 +0000 (12:13 +0000)]
Avoid race condition that could cause
spurious failure. Based on a patch from Andreas Schwab.
Jim Meyering [Tue, 23 Mar 2004 20:17:58 +0000 (20:17 +0000)]
.
Jim Meyering [Tue, 23 Mar 2004 18:04:35 +0000 (18:04 +0000)]
Remove space(s) before TAB.
Jim Meyering [Tue, 23 Mar 2004 17:34:05 +0000 (17:34 +0000)]
whoops: getopt_int.h, not getopt_int.c.
Jim Meyering [Tue, 23 Mar 2004 17:33:25 +0000 (17:33 +0000)]
Sync from gnulib.
Jim Meyering [Tue, 23 Mar 2004 17:33:02 +0000 (17:33 +0000)]
.
Jim Meyering [Tue, 23 Mar 2004 17:32:11 +0000 (17:32 +0000)]
New file, from gnulib.
Jim Meyering [Tue, 23 Mar 2004 17:31:11 +0000 (17:31 +0000)]
(libfetish_a_SOURCES): Add getopt_int.h.
Jim Meyering [Tue, 23 Mar 2004 17:18:59 +0000 (17:18 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 17:18:54 +0000 (17:18 +0000)]
Sync from gnulib.
* mbswidth.c: Include <stdio.h> and <time.h> before <wchar.h>.
Jim Meyering [Tue, 23 Mar 2004 17:18:37 +0000 (17:18 +0000)]
Sync from gnulib.
* mbswidth.h: Include <wchar.h> only if HAVE_DECL_MBSWIDTH_IN_WCHAR_H,
not on all platforms that have <wchar.h>.
Jim Meyering [Tue, 23 Mar 2004 16:32:18 +0000 (16:32 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 16:32:11 +0000 (16:32 +0000)]
(main): Free the hash table, too.
Jim Meyering [Tue, 23 Mar 2004 11:35:07 +0000 (11:35 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:34:00 +0000 (11:34 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:33:56 +0000 (11:33 +0000)]
(du invocation): --files0-from is useful with
--total (-c), not with --summarize.
Jim Meyering [Tue, 23 Mar 2004 11:26:54 +0000 (11:26 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:26:14 +0000 (11:26 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:25:31 +0000 (11:25 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:24:20 +0000 (11:24 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Mar 2004 22:27:47 +0000 (22:27 +0000)]
.
Jim Meyering [Mon, 22 Mar 2004 22:27:37 +0000 (22:27 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Mar 2004 22:27:33 +0000 (22:27 +0000)]
Tweak a few lines that resulted in `overfull hbox' warnings.
Jim Meyering [Mon, 22 Mar 2004 22:26:30 +0000 (22:26 +0000)]
.
Jim Meyering [Mon, 22 Mar 2004 22:26:20 +0000 (22:26 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Mar 2004 22:26:16 +0000 (22:26 +0000)]
(.x.1): Remove --info-page= option, reverting
the change of 2004-01-22. I can no longer reproduce the problem
that prompted that change, and `info coreutils pr' would display the
`printing text' section of the manual, not the one on `pr invocation'.
Jim Meyering [Mon, 22 Mar 2004 20:40:03 +0000 (20:40 +0000)]
.
Jim Meyering [Mon, 22 Mar 2004 20:38:32 +0000 (20:38 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Mar 2004 20:38:28 +0000 (20:38 +0000)]
(nul-1, nul-2): Adjust expected diagnostics to match corrected output.
Jim Meyering [Mon, 22 Mar 2004 20:17:37 +0000 (20:17 +0000)]
(du_files): Return bool, rather than int.
(main): Call readtokens0_free.
Jim Meyering [Mon, 22 Mar 2004 20:03:38 +0000 (20:03 +0000)]
Include "readtokens0.h" rather than "readtokens.h".
(main): Use readtoken0 functions rather than readtokens.
Don't use errno when diagnosing readtokens0 failure.
Jim Meyering [Mon, 22 Mar 2004 20:00:44 +0000 (20:00 +0000)]
(libfetish_a_SOURCES): Add readtokens0.c and readtokens0.h
Jim Meyering [Mon, 22 Mar 2004 20:00:27 +0000 (20:00 +0000)]
*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 22:19:21 +0000 (22:19 +0000)]
*** empty log message ***