platform/upstream/coreutils.git
20 years ago.
Jim Meyering [Sun, 4 Apr 2004 06:55:58 +0000 (06:55 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sun, 4 Apr 2004 06:54:16 +0000 (06:54 +0000)]
*** empty log message ***

20 years ago(jm_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR.
Jim Meyering [Sun, 4 Apr 2004 06:54:11 +0000 (06:54 +0000)]
(jm_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR.

20 years agoNew files, from gnulib.
Jim Meyering [Sun, 4 Apr 2004 06:53:53 +0000 (06:53 +0000)]
New files, from gnulib.

20 years agoSync from gnulib.
Jim Meyering [Sun, 4 Apr 2004 06:53:20 +0000 (06:53 +0000)]
Sync from gnulib.

20 years agoSync from gnulib.
Jim Meyering [Sun, 4 Apr 2004 06:51:11 +0000 (06:51 +0000)]
Sync from gnulib.

20 years ago.
Jim Meyering [Sun, 4 Apr 2004 06:50:03 +0000 (06:50 +0000)]
.

20 years ago.
Jim Meyering [Sun, 4 Apr 2004 06:49:21 +0000 (06:49 +0000)]
.

20 years agoSync from gnulib.
Jim Meyering [Sun, 4 Apr 2004 06:40:50 +0000 (06:40 +0000)]
Sync from gnulib.

20 years agoNew files, from gnulib
Jim Meyering [Sun, 4 Apr 2004 06:39:39 +0000 (06:39 +0000)]
New files, from gnulib

20 years ago*** empty log message ***
Jim Meyering [Sun, 4 Apr 2004 06:39:02 +0000 (06:39 +0000)]
*** empty log message ***

20 years agosync from gnulib
Jim Meyering [Sun, 4 Apr 2004 06:35:26 +0000 (06:35 +0000)]
sync from gnulib

20 years ago.
Jim Meyering [Sun, 4 Apr 2004 06:35:14 +0000 (06:35 +0000)]
.

20 years ago(main): Adjust to new calling convention for set_cloexec_flag.
Jim Meyering [Sun, 4 Apr 2004 06:33:44 +0000 (06:33 +0000)]
(main): Adjust to new calling convention for set_cloexec_flag.

20 years agoAdd strdup.h.
Jim Meyering [Fri, 2 Apr 2004 22:25:17 +0000 (22:25 +0000)]
Add strdup.h.

20 years agowhoops. add strdup.h, not xstrdup.h.
Jim Meyering [Fri, 2 Apr 2004 22:22:00 +0000 (22:22 +0000)]
whoops.  add strdup.h, not xstrdup.h.

20 years ago(libfetish_a_SOURCES): Add allocsa.c, allocsa.h and strdup.h.
Jim Meyering [Fri, 2 Apr 2004 22:20:06 +0000 (22:20 +0000)]
(libfetish_a_SOURCES): Add allocsa.c, allocsa.h and strdup.h.

20 years agoalign some continuation-backslashes
Jim Meyering [Thu, 1 Apr 2004 17:14:46 +0000 (17:14 +0000)]
align some continuation-backslashes

20 years agotweak indentation
Jim Meyering [Thu, 1 Apr 2004 17:13:07 +0000 (17:13 +0000)]
tweak indentation

20 years agoremove obsolete comment
Jim Meyering [Thu, 1 Apr 2004 17:12:22 +0000 (17:12 +0000)]
remove obsolete comment

20 years agoalso check for atoll
Jim Meyering [Wed, 31 Mar 2004 17:32:11 +0000 (17:32 +0000)]
also check for atoll

20 years ago.
Jim Meyering [Wed, 31 Mar 2004 09:01:47 +0000 (09:01 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Wed, 31 Mar 2004 08:39:35 +0000 (08:39 +0000)]
*** empty log message ***

20 years ago(run_tests): Remove `.orig' file.
Jim Meyering [Wed, 31 Mar 2004 08:39:22 +0000 (08:39 +0000)]
(run_tests): Remove `.orig' file.
Remove debugging diagnostic.

20 years ago*** empty log message ***
Jim Meyering [Wed, 31 Mar 2004 08:30:22 +0000 (08:30 +0000)]
*** empty log message ***

20 years agowhoops. Remove old code, too, <blush>.
Jim Meyering [Wed, 31 Mar 2004 08:27:27 +0000 (08:27 +0000)]
whoops.  Remove old code, too, <blush>.

20 years ago*** empty log message ***
Jim Meyering [Wed, 31 Mar 2004 08:25:13 +0000 (08:25 +0000)]
*** empty log message ***

20 years agoSpecifying an invalid --width=N (-w) or --gap-size=N (-g)
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.

20 years ago.
Jim Meyering [Wed, 31 Mar 2004 07:49:30 +0000 (07:49 +0000)]
.

20 years ago.
Jim Meyering [Wed, 31 Mar 2004 07:48:14 +0000 (07:48 +0000)]
.

20 years ago.
Jim Meyering [Wed, 31 Mar 2004 07:47:35 +0000 (07:47 +0000)]
.

20 years agofile was essentially empty
Jim Meyering [Wed, 31 Mar 2004 07:47:26 +0000 (07:47 +0000)]
file was essentially empty

20 years ago*** empty log message ***
Jim Meyering [Wed, 31 Mar 2004 07:44:02 +0000 (07:44 +0000)]
*** empty log message ***

20 years agoRequire AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
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.

20 years ago * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
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.

20 years ago*** empty log message ***
Jim Meyering [Tue, 30 Mar 2004 15:12:53 +0000 (15:12 +0000)]
*** empty log message ***

20 years agoadd comments
Jim Meyering [Tue, 30 Mar 2004 15:12:44 +0000 (15:12 +0000)]
add comments

20 years ago(sc_prohibit_atoi_atof): New rule.
Jim Meyering [Tue, 30 Mar 2004 15:11:24 +0000 (15:11 +0000)]
(sc_prohibit_atoi_atof): New rule.
(syntax-check-rules): Add it.

20 years ago*** empty log message ***
Jim Meyering [Tue, 30 Mar 2004 15:10:27 +0000 (15:10 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 30 Mar 2004 13:50:48 +0000 (13:50 +0000)]
*** empty log message ***

20 years agoMerge changes from emacs (via gnulib).
Jim Meyering [Tue, 30 Mar 2004 13:50:44 +0000 (13:50 +0000)]
Merge changes from emacs (via gnulib).

20 years ago*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 12:31:27 +0000 (12:31 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 09:38:04 +0000 (09:38 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 09:37:56 +0000 (09:37 +0000)]
*** empty log message ***

20 years agoUse new OUT_SUBST directive, so that this
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.

20 years ago*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 09:23:41 +0000 (09:23 +0000)]
*** empty log message ***

20 years agoAccept new directives: OUT_SUBST, ERR_SUBST.
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.

20 years ago*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 07:33:23 +0000 (07:33 +0000)]
*** empty log message ***

20 years ago[HAVE_SETHOSTNAME && !defined sethostname]:
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.

20 years agoInclude "vasprintf.h", for asprintf.
Jim Meyering [Mon, 29 Mar 2004 07:29:49 +0000 (07:29 +0000)]
Include "vasprintf.h", for asprintf.

20 years ago*** empty log message ***
Jim Meyering [Mon, 29 Mar 2004 07:29:23 +0000 (07:29 +0000)]
*** empty log message ***

20 years ago[HAVE_UNISTD_H]: Include <unistd.h>, for resolvepath declaration.
Jim Meyering [Mon, 29 Mar 2004 07:29:06 +0000 (07:29 +0000)]
[HAVE_UNISTD_H]: Include <unistd.h>, for resolvepath declaration.

20 years agoInclude dirfd.h, for dirfd.
Jim Meyering [Mon, 29 Mar 2004 07:28:52 +0000 (07:28 +0000)]
Include dirfd.h, for dirfd.

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

20 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.

20 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.

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

20 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'.

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

20 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.

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

20 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.

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

20 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'.

20 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.

20 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.

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

20 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.

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

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

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

20 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.

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

20 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.

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

20 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.

20 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".

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

20 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.

20 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.

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

20 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'.

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

20 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.

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

20 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.

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

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

20 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.

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

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

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

20 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.

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

20 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>.

20 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>.

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

20 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.

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

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