1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-19 05:42:02 +02:00
Commit Graph

18063 Commits

Author SHA1 Message Date
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
Jim Meyering
6efb50627e Use @sc{nul} consistently for NUL.
(du invocation): FILE0 -> FILE.
2004-03-24 15:12:39 +00:00
Jim Meyering
032c6c1c3d *** empty log message *** 2004-03-24 15:12:14 +00:00
Jim Meyering
692ffb1ec4 (check-texinfo): Add a check to ensure future
consistency in using @sc{nul}, not `NUL'.
2004-03-24 15:12:11 +00:00
Jim Meyering
f358d24e32 *** empty log message *** 2004-03-24 14:45:23 +00:00
Jim Meyering
393592573c (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.
2004-03-24 14:45:17 +00:00
Jim Meyering
e4b803c17e *** empty log message *** 2004-03-24 13:42:44 +00:00
Jim Meyering
2d78b8bd47 Avoid race condition that could cause
spurious failure.  Based on a patch from Andreas Schwab.
2004-03-24 12:13:12 +00:00
Jim Meyering
6a8f1849c1 . 2004-03-23 20:17:58 +00:00
Jim Meyering
b573808b27 Remove space(s) before TAB. 2004-03-23 18:04:35 +00:00
Jim Meyering
3eb991fe9e whoops: getopt_int.h, not getopt_int.c. 2004-03-23 17:34:05 +00:00
Jim Meyering
42401183af Sync from gnulib. 2004-03-23 17:33:25 +00:00
Jim Meyering
546413e85a . 2004-03-23 17:33:02 +00:00
Jim Meyering
fe2103f357 New file, from gnulib. 2004-03-23 17:32:11 +00:00
Jim Meyering
2a90dd7d2f (libfetish_a_SOURCES): Add getopt_int.h. 2004-03-23 17:31:11 +00:00
Jim Meyering
9e8815a79d *** empty log message *** 2004-03-23 17:18:59 +00:00
Jim Meyering
33f43662ef Sync from gnulib.
* mbswidth.c: Include <stdio.h> and <time.h> before <wchar.h>.
2004-03-23 17:18:54 +00:00
Jim Meyering
806490628c Sync from gnulib.
* mbswidth.h: Include <wchar.h> only if HAVE_DECL_MBSWIDTH_IN_WCHAR_H,
	not on all platforms that have <wchar.h>.
2004-03-23 17:18:37 +00:00
Jim Meyering
9715a5bebf *** empty log message *** 2004-03-23 16:32:18 +00:00
Jim Meyering
47ea391c68 (main): Free the hash table, too. 2004-03-23 16:32:11 +00:00
Jim Meyering
607ea2feee *** empty log message *** 2004-03-23 11:35:07 +00:00
Jim Meyering
b50cfcc354 *** empty log message *** 2004-03-23 11:34:00 +00:00
Jim Meyering
b6ed597b0f (du invocation): --files0-from is useful with
--total (-c), not with --summarize.
2004-03-23 11:33:56 +00:00
Jim Meyering
38e2796611 *** empty log message *** 2004-03-23 11:26:54 +00:00
Jim Meyering
076a582c87 *** empty log message *** 2004-03-23 11:26:14 +00:00
Jim Meyering
d11c5c0727 *** empty log message *** 2004-03-23 11:25:31 +00:00
Jim Meyering
f577774e3f *** empty log message *** 2004-03-23 11:24:20 +00:00
Jim Meyering
805bd8d9c4 . 2004-03-22 22:27:47 +00:00
Jim Meyering
ed837051b6 *** empty log message *** 2004-03-22 22:27:37 +00:00
Jim Meyering
29e2176da8 Tweak a few lines that resulted in `overfull hbox' warnings. 2004-03-22 22:27:33 +00:00
Jim Meyering
6b90c0991f . 2004-03-22 22:26:30 +00:00
Jim Meyering
644c4af0be *** empty log message *** 2004-03-22 22:26:20 +00:00
Jim Meyering
ada07ea00b (.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'.
2004-03-22 22:26:16 +00:00
Jim Meyering
ec8d695194 . 2004-03-22 20:40:03 +00:00
Jim Meyering
1713f512df *** empty log message *** 2004-03-22 20:38:32 +00:00
Jim Meyering
68858cdd9e (nul-1, nul-2): Adjust expected diagnostics to match corrected output. 2004-03-22 20:38:28 +00:00
Jim Meyering
7bafb22e6c (du_files): Return bool, rather than int.
(main): Call readtokens0_free.
2004-03-22 20:17:37 +00:00
Jim Meyering
ee6a9e125a Include "readtokens0.h" rather than "readtokens.h".
(main): Use readtoken0 functions rather than readtokens.
Don't use errno when diagnosing readtokens0 failure.
2004-03-22 20:03:38 +00:00
Jim Meyering
92bd801772 (libfetish_a_SOURCES): Add readtokens0.c and readtokens0.h 2004-03-22 20:00:44 +00:00
Jim Meyering
96cafaac76 *** empty log message *** 2004-03-22 20:00:27 +00:00
Jim Meyering
8d210c7151 *** empty log message *** 2004-03-21 22:19:21 +00:00
Jim Meyering
51be5c4245 (ds_free): Plug a small leak. 2004-03-21 22:19:09 +00:00
Jim Meyering
82efb0955e *** empty log message *** 2004-03-21 19:50:46 +00:00
Jim Meyering
420f2c7a7e *** empty log message *** 2004-03-21 19:50:31 +00:00
Jim Meyering
846d81da01 (readtoken): Don't leak 64 bytes when reading an empty input stream. 2004-03-21 19:50:17 +00:00
Jim Meyering
9fb05110ea Also test with a non-regular file:
--files0-from=/dev/null
2004-03-21 19:20:14 +00:00
Jim Meyering
03ed43f2b0 (main): whoops. don't use errno for this diagnostic:
_("no files specified in %s"),
2004-03-21 19:18:24 +00:00
Jim Meyering
977dc6841b Add this comment:
# -*- perl -*-
2004-03-21 18:50:30 +00:00