]> git.ipfire.org Git - thirdparty/coreutils.git/log
thirdparty/coreutils.git
21 years agoInclude dirfd.h, for dirfd.
Jim Meyering [Mon, 29 Mar 2004 07:28:52 +0000 (07:28 +0000)] 
Include dirfd.h, for dirfd.

21 years ago*** empty log message ***
Jim Meyering [Sun, 28 Mar 2004 21:44:01 +0000 (21:44 +0000)] 
*** empty log message ***

21 years agoMinor optimization:
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.

21 years agoCorrect the indentation of a foreach loop.
Jim Meyering [Sun, 28 Mar 2004 08:21:45 +0000 (08:21 +0000)] 
Correct the indentation of a foreach loop.

21 years ago*** empty log message ***
Jim Meyering [Sat, 27 Mar 2004 15:52:44 +0000 (15:52 +0000)] 
*** empty log message ***

21 years ago(print_grand_total): Rename global from `print_totals'.
Jim Meyering [Sat, 27 Mar 2004 15:44:23 +0000 (15:44 +0000)] 
(print_grand_total): Rename global from `print_totals'.

21 years ago*** empty log message ***
Jim Meyering [Sat, 27 Mar 2004 09:11:30 +0000 (09:11 +0000)] 
*** empty log message ***

21 years ago(main): Rearrange filtering loop to be a tiny bit more efficient.
Jim Meyering [Sat, 27 Mar 2004 09:11:25 +0000 (09:11 +0000)] 
(main): Rearrange filtering loop to be a tiny bit more efficient.

21 years ago*** empty log message ***
Jim Meyering [Sat, 27 Mar 2004 08:43:56 +0000 (08:43 +0000)] 
*** empty log message ***

21 years agoDon't include savedir.h -- no longer needed.
Jim Meyering [Sat, 27 Mar 2004 08:43:36 +0000 (08:43 +0000)] 
Don't include savedir.h -- no longer needed.

21 years ago*** empty log message ***
Jim Meyering [Thu, 25 Mar 2004 20:47:50 +0000 (20:47 +0000)] 
*** empty log message ***

21 years ago(main): Remove now-unused declaration of `i'.
Jim Meyering [Thu, 25 Mar 2004 17:35:29 +0000 (17:35 +0000)] 
(main): Remove now-unused declaration of `i'.

21 years ago(main): Filter out file names of length zero before
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.

21 years ago(zero-len): Add a test for the above.
Jim Meyering [Thu, 25 Mar 2004 17:33:56 +0000 (17:33 +0000)] 
(zero-len): Add a test for the above.

21 years ago.
Jim Meyering [Wed, 24 Mar 2004 18:08:55 +0000 (18:08 +0000)] 
.

21 years agoTest for BLOCKSIZE. Factor the code to simplify it.
Jim Meyering [Wed, 24 Mar 2004 17:40:29 +0000 (17:40 +0000)] 
Test for BLOCKSIZE.  Factor the code to simplify it.

21 years ago*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 17:39:01 +0000 (17:39 +0000)] 
*** empty log message ***

21 years agoNew environment var BLOCKSIZE.
Jim Meyering [Wed, 24 Mar 2004 17:38:58 +0000 (17:38 +0000)] 
New environment var BLOCKSIZE.

21 years ago*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 17:38:21 +0000 (17:38 +0000)] 
*** empty log message ***

21 years ago(Block size): Document new envvar BLOCKSIZE.
Jim Meyering [Wed, 24 Mar 2004 17:38:17 +0000 (17:38 +0000)] 
(Block size): Document new envvar BLOCKSIZE.

21 years ago*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 17:37:08 +0000 (17:37 +0000)] 
*** empty log message ***

21 years ago(humblock): Support BLOCKSIZE envvar, as well as BLOCK_SIZE.
Jim Meyering [Wed, 24 Mar 2004 17:36:57 +0000 (17:36 +0000)] 
(humblock): Support BLOCKSIZE envvar, as well as BLOCK_SIZE.

21 years ago.
Jim Meyering [Wed, 24 Mar 2004 15:19:40 +0000 (15:19 +0000)] 
.

21 years agoAdjust to above changes to src/du.c.
Jim Meyering [Wed, 24 Mar 2004 15:14:22 +0000 (15:14 +0000)] 
Adjust to above changes to src/du.c.

21 years agoShorten the du --files0-from announcement, and say
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".

21 years ago*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 15:14:00 +0000 (15:14 +0000)] 
*** empty log message ***

21 years ago(EXPECTED_BYTES_PER_FILE_NAME, DEFAULT_PROJECTED_N_FILES):
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.

21 years agoUse @sc{nul} consistently for NUL.
Jim Meyering [Wed, 24 Mar 2004 15:12:39 +0000 (15:12 +0000)] 
Use @sc{nul} consistently for NUL.
(du invocation): FILE0 -> FILE.

21 years ago*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 15:12:14 +0000 (15:12 +0000)] 
*** empty log message ***

21 years ago(check-texinfo): Add a check to ensure future
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'.

21 years ago*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 14:45:23 +0000 (14:45 +0000)] 
*** empty log message ***

21 years ago(readtokens0): Return true on success rather
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.

21 years ago*** empty log message ***
Jim Meyering [Wed, 24 Mar 2004 13:42:44 +0000 (13:42 +0000)] 
*** empty log message ***

21 years agoAvoid race condition that could cause
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.

21 years ago.
Jim Meyering [Tue, 23 Mar 2004 20:17:58 +0000 (20:17 +0000)] 
.

21 years agoRemove space(s) before TAB.
Jim Meyering [Tue, 23 Mar 2004 18:04:35 +0000 (18:04 +0000)] 
Remove space(s) before TAB.

21 years agowhoops: getopt_int.h, not getopt_int.c.
Jim Meyering [Tue, 23 Mar 2004 17:34:05 +0000 (17:34 +0000)] 
whoops: getopt_int.h, not getopt_int.c.

21 years agoSync from gnulib.
Jim Meyering [Tue, 23 Mar 2004 17:33:25 +0000 (17:33 +0000)] 
Sync from gnulib.

21 years ago.
Jim Meyering [Tue, 23 Mar 2004 17:33:02 +0000 (17:33 +0000)] 
.

21 years agoNew file, from gnulib.
Jim Meyering [Tue, 23 Mar 2004 17:32:11 +0000 (17:32 +0000)] 
New file, from gnulib.

21 years ago(libfetish_a_SOURCES): Add getopt_int.h.
Jim Meyering [Tue, 23 Mar 2004 17:31:11 +0000 (17:31 +0000)] 
(libfetish_a_SOURCES): Add getopt_int.h.

21 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 17:18:59 +0000 (17:18 +0000)] 
*** empty log message ***

21 years agoSync from gnulib.
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>.

21 years agoSync from gnulib.
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>.

21 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 16:32:18 +0000 (16:32 +0000)] 
*** empty log message ***

21 years ago(main): Free the hash table, too.
Jim Meyering [Tue, 23 Mar 2004 16:32:11 +0000 (16:32 +0000)] 
(main): Free the hash table, too.

21 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:35:07 +0000 (11:35 +0000)] 
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:34:00 +0000 (11:34 +0000)] 
*** empty log message ***

21 years ago(du invocation): --files0-from is useful with
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.

21 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:26:54 +0000 (11:26 +0000)] 
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:26:14 +0000 (11:26 +0000)] 
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:25:31 +0000 (11:25 +0000)] 
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 23 Mar 2004 11:24:20 +0000 (11:24 +0000)] 
*** empty log message ***

21 years ago.
Jim Meyering [Mon, 22 Mar 2004 22:27:47 +0000 (22:27 +0000)] 
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 22 Mar 2004 22:27:37 +0000 (22:27 +0000)] 
*** empty log message ***

21 years agoTweak a few lines that resulted in `overfull hbox' warnings.
Jim Meyering [Mon, 22 Mar 2004 22:27:33 +0000 (22:27 +0000)] 
Tweak a few lines that resulted in `overfull hbox' warnings.

21 years ago.
Jim Meyering [Mon, 22 Mar 2004 22:26:30 +0000 (22:26 +0000)] 
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 22 Mar 2004 22:26:20 +0000 (22:26 +0000)] 
*** empty log message ***

21 years ago(.x.1): Remove --info-page= option, reverting
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'.

21 years ago.
Jim Meyering [Mon, 22 Mar 2004 20:40:03 +0000 (20:40 +0000)] 
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 22 Mar 2004 20:38:32 +0000 (20:38 +0000)] 
*** empty log message ***

21 years ago(nul-1, nul-2): Adjust expected diagnostics to match corrected output.
Jim Meyering [Mon, 22 Mar 2004 20:38:28 +0000 (20:38 +0000)] 
(nul-1, nul-2): Adjust expected diagnostics to match corrected output.

21 years ago(du_files): Return bool, rather than int.
Jim Meyering [Mon, 22 Mar 2004 20:17:37 +0000 (20:17 +0000)] 
(du_files): Return bool, rather than int.
(main): Call readtokens0_free.

21 years agoInclude "readtokens0.h" rather than "readtokens.h".
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.

21 years ago(libfetish_a_SOURCES): Add readtokens0.c and readtokens0.h
Jim Meyering [Mon, 22 Mar 2004 20:00:44 +0000 (20:00 +0000)] 
(libfetish_a_SOURCES): Add readtokens0.c and readtokens0.h

21 years ago*** empty log message ***
Jim Meyering [Mon, 22 Mar 2004 20:00:27 +0000 (20:00 +0000)] 
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 22:19:21 +0000 (22:19 +0000)] 
*** empty log message ***

21 years ago(ds_free): Plug a small leak.
Jim Meyering [Sun, 21 Mar 2004 22:19:09 +0000 (22:19 +0000)] 
(ds_free): Plug a small leak.

21 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 19:50:46 +0000 (19:50 +0000)] 
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 19:50:31 +0000 (19:50 +0000)] 
*** empty log message ***

21 years ago(readtoken): Don't leak 64 bytes when reading an empty input stream.
Jim Meyering [Sun, 21 Mar 2004 19:50:17 +0000 (19:50 +0000)] 
(readtoken): Don't leak 64 bytes when reading an empty input stream.

21 years agoAlso test with a non-regular file:
Jim Meyering [Sun, 21 Mar 2004 19:20:14 +0000 (19:20 +0000)] 
Also test with a non-regular file:
--files0-from=/dev/null

21 years ago(main): whoops. don't use errno for this diagnostic:
Jim Meyering [Sun, 21 Mar 2004 19:18:24 +0000 (19:18 +0000)] 
(main): whoops.  don't use errno for this diagnostic:
_("no files specified in %s"),

21 years agoAdd this comment:
Jim Meyering [Sun, 21 Mar 2004 18:50:30 +0000 (18:50 +0000)] 
Add this comment:
# -*- perl -*-

21 years ago.
Jim Meyering [Sun, 21 Mar 2004 18:50:03 +0000 (18:50 +0000)] 
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 18:49:13 +0000 (18:49 +0000)] 
*** empty log message ***

21 years agoInclude <stdbool.h>.
Jim Meyering [Sun, 21 Mar 2004 18:49:06 +0000 (18:49 +0000)] 
Include <stdbool.h>.
(readtoken): Use `size_t' rather than int/long.
All callers adjusted.
Use `bool' rather than `int' where appropriate.
Use memset rather than an explicit loop.
Use x2nrealloc rather than xrealloc.
Allow the use of `\0' as a delimiter.
(readtokens): Likewise.

21 years ago(readtoken, readtokens): Update prototypes.
Jim Meyering [Sun, 21 Mar 2004 18:48:54 +0000 (18:48 +0000)] 
(readtoken, readtokens): Update prototypes.

21 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 18:48:21 +0000 (18:48 +0000)] 
*** empty log message ***

21 years ago(du invocation): Document new option: --file0-from=F.
Jim Meyering [Sun, 21 Mar 2004 18:48:17 +0000 (18:48 +0000)] 
(du invocation): Document new option: --file0-from=F.

21 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 18:47:48 +0000 (18:47 +0000)] 
*** empty log message ***

21 years agoFix typo in comment.
Jim Meyering [Sun, 21 Mar 2004 18:47:43 +0000 (18:47 +0000)] 
Fix typo in comment.

21 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 2004 18:46:35 +0000 (18:46 +0000)] 
*** empty log message ***

21 years ago * NEWS: du accepts a new option --from0-file=FILE, where FILE
Jim Meyering [Sun, 21 Mar 2004 18:46:31 +0000 (18:46 +0000)] 
* NEWS: du accepts a new option --from0-file=FILE, where FILE
contains a list of NUL-separated file names.

21 years ago(tsort): Reflect changes in use of readtoken.
Jim Meyering [Sun, 21 Mar 2004 18:45:54 +0000 (18:45 +0000)] 
(tsort): Reflect changes in use of readtoken.

21 years ago(do_stdin): Reflect changes in use of readtoken.
Jim Meyering [Sun, 21 Mar 2004 18:45:37 +0000 (18:45 +0000)] 
(do_stdin): Reflect changes in use of readtoken.

21 years ago(TESTS): Add files0-from.
Jim Meyering [Sun, 21 Mar 2004 18:45:17 +0000 (18:45 +0000)] 
(TESTS): Add files0-from.

21 years agoNew tests, for --files0-from-F option.
Jim Meyering [Sun, 21 Mar 2004 18:45:06 +0000 (18:45 +0000)] 
New tests, for --files0-from-F option.

21 years agodu accepts a new option --from0-file=FILE, where FILE contains
Jim Meyering [Sun, 21 Mar 2004 18:44:25 +0000 (18:44 +0000)] 
du accepts a new option --from0-file=FILE, where FILE contains
a list of NUL-separated file names.

Include "readtokens.h".
(usage): Describe the new option, and adjust the `Usage':
with this option, no FILE may be specified on the command line.
(main): Handle the new option.

21 years ago.
Jim Meyering [Thu, 18 Mar 2004 06:24:45 +0000 (06:24 +0000)] 
.

21 years ago.
Jim Meyering [Wed, 17 Mar 2004 18:44:57 +0000 (18:44 +0000)] 
.

21 years ago(test_vector): New tests epoch, ns-10, ns-max32, ns-relative.
Jim Meyering [Wed, 17 Mar 2004 17:42:11 +0000 (17:42 +0000)] 
(test_vector): New tests epoch, ns-10, ns-max32, ns-relative.

21 years ago*** empty log message ***
Jim Meyering [Wed, 17 Mar 2004 17:39:03 +0000 (17:39 +0000)] 
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 17 Mar 2004 17:38:36 +0000 (17:38 +0000)] 
*** empty log message ***

21 years ago(General date syntax, Time of day items): Likewise.
Jim Meyering [Wed, 17 Mar 2004 17:37:28 +0000 (17:37 +0000)] 
(General date syntax, Time of day items): Likewise.
Add copyright notice.  Change getdate to
get_date when talking about the function name.
(Seconds since the Epoch): New section, containing the time_t
info moved from Date input formats section, along with new
info about the @ syntax.  Mention negative time stamps,
fractional time stamps, and leap seconds.
(General date syntax): Modernize examples a bit to reflect new
features.
(General date syntax, Relative items in date strings):
Use ' rather than " to quote formats.
(Time of day items): Add an example with fractional seconds.
Describe fractional-second syntax.

21 years ago(touch invocation):
Jim Meyering [Wed, 17 Mar 2004 17:31:15 +0000 (17:31 +0000)] 
(touch invocation):
Describe use of fractional seconds.
(date invocation, Options for date): Likewise.
(date invocation): Mention effect of LC_TIME.
(Options for date): Describe new --iso-8601=ns option.

21 years ago(touch_LDADD): New macro, since `touch' now needs clock_gettime.
Jim Meyering [Wed, 17 Mar 2004 10:14:17 +0000 (10:14 +0000)] 
(touch_LDADD): New macro, since `touch' now needs clock_gettime.

21 years ago*** empty log message ***
Jim Meyering [Wed, 17 Mar 2004 10:13:50 +0000 (10:13 +0000)] 
*** empty log message ***

21 years ago(gl_GETDATE): Remove time-related stuff.
Jim Meyering [Wed, 17 Mar 2004 10:13:45 +0000 (10:13 +0000)] 
(gl_GETDATE): Remove time-related stuff.
Require AM_STDBOOL_H and gl_TIMESPEC instead.
Require gl_CLOCK_TIME.

21 years ago(gl_CLOCK_TIME): Require AC_GNU_SOURCE.
Jim Meyering [Wed, 17 Mar 2004 10:12:39 +0000 (10:12 +0000)] 
(gl_CLOCK_TIME): Require AC_GNU_SOURCE.