platform/upstream/coreutils.git
21 years ago*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 09:54:48 +0000 (09:54 +0000)]
*** empty log message ***

21 years agoMerge changes from Bison.
Jim Meyering [Fri, 14 Mar 2003 09:54:39 +0000 (09:54 +0000)]
Merge changes from Bison.

(__INT_TO_PTR) [__STDC__]: Cast result to
(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
when compiling Bison 1.875's `bitset bset = obstack_alloc
(bobstack, bytes);'.  Problem reported by Nelson H. F. Beebe.

21 years ago.
Jim Meyering [Fri, 14 Mar 2003 09:50:49 +0000 (09:50 +0000)]
.

21 years ago[from gnulib]
Jim Meyering [Fri, 14 Mar 2003 09:50:43 +0000 (09:50 +0000)]
[from gnulib]

(m4_quote): New macro.
(AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
Quote AC_FOREACH variable-expansions properly.

21 years agobump to 4.5.11
Jim Meyering [Fri, 14 Mar 2003 09:45:37 +0000 (09:45 +0000)]
bump to 4.5.11

21 years ago(main): Label the compressed source URLs.
Jim Meyering [Fri, 14 Mar 2003 09:44:59 +0000 (09:44 +0000)]
(main): Label the compressed source URLs.

21 years ago.
Jim Meyering [Fri, 14 Mar 2003 08:37:36 +0000 (08:37 +0000)]
.

21 years ago. COREUTILS-4_5_10 v4.5.10
Jim Meyering [Fri, 14 Mar 2003 08:13:06 +0000 (08:13 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 07:56:15 +0000 (07:56 +0000)]
*** empty log message ***

21 years agoRelax the test for the `local'ness of a file system,
Jim Meyering [Fri, 14 Mar 2003 07:56:09 +0000 (07:56 +0000)]
Relax the test for the `local'ness of a file system,
so that now it works also for tmpfs.

21 years agoTransform output from first du, so that this
Jim Meyering [Fri, 14 Mar 2003 06:54:37 +0000 (06:54 +0000)]
Transform output from first du, so that this
test doesn't fail on file systems like tmpfs that order directory
entries differently.

21 years agosort du output, in case f1 and f2 are listed in a different order
Jim Meyering [Fri, 14 Mar 2003 06:50:28 +0000 (06:50 +0000)]
sort du output, in case f1 and f2 are listed in a different order

21 years agoreformat a little
Jim Meyering [Fri, 14 Mar 2003 06:48:13 +0000 (06:48 +0000)]
reformat a little

21 years ago.
Jim Meyering [Thu, 13 Mar 2003 21:25:48 +0000 (21:25 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 13 Mar 2003 21:06:06 +0000 (21:06 +0000)]
*** empty log message ***

21 years agoWork around what appears to be an NFS failure that
Jim Meyering [Thu, 13 Mar 2003 21:05:59 +0000 (21:05 +0000)]
Work around what appears to be an NFS failure that
would make this test fail on some systems.

21 years ago.
Jim Meyering [Thu, 13 Mar 2003 13:16:15 +0000 (13:16 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 13 Mar 2003 13:16:04 +0000 (13:16 +0000)]
*** empty log message ***

21 years agotweak wording
Jim Meyering [Thu, 13 Mar 2003 13:15:56 +0000 (13:15 +0000)]
tweak wording

21 years ago(shred invocation): Mention that --exact
Jim Meyering [Thu, 13 Mar 2003 13:14:40 +0000 (13:14 +0000)]
(shred invocation): Mention that --exact
is now the default for non-regular files.

21 years ago*** empty log message ***
Jim Meyering [Thu, 13 Mar 2003 13:08:19 +0000 (13:08 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 13 Mar 2003 13:07:15 +0000 (13:07 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Thu, 13 Mar 2003 13:07:11 +0000 (13:07 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 13 Mar 2003 13:06:50 +0000 (13:06 +0000)]
*** empty log message ***

21 years ago(jm_MACROS): Arrange to compile the corresponding stub
Jim Meyering [Thu, 13 Mar 2003 13:06:44 +0000 (13:06 +0000)]
(jm_MACROS): Arrange to compile the corresponding stub
function if any of the following is missing: fchown, lstat, readlink.
From Richard Dawe.

21 years ago.
Jim Meyering [Wed, 12 Mar 2003 23:14:15 +0000 (23:14 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 12 Mar 2003 09:47:23 +0000 (09:47 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 22:54:36 +0000 (22:54 +0000)]
*** empty log message ***

21 years agoMake the test file exactly 4k bytes long.
Jim Meyering [Tue, 11 Mar 2003 22:20:54 +0000 (22:20 +0000)]
Make the test file exactly 4k bytes long.

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 22:12:42 +0000 (22:12 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 22:12:38 +0000 (22:12 +0000)]
*** empty log message ***

21 years ago(longopts): Don't hard-code `2' here.
Jim Meyering [Tue, 11 Mar 2003 20:48:36 +0000 (20:48 +0000)]
(longopts): Don't hard-code `2' here.
Instead, just specify `&verbose', and ...
(main): ... remove the `case 2:' block for --verbose.

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 20:34:29 +0000 (20:34 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 20:31:53 +0000 (20:31 +0000)]
*** empty log message ***

21 years agoDon't segfault for a negative field width or precision in format string.
Jim Meyering [Tue, 11 Mar 2003 20:25:18 +0000 (20:25 +0000)]
Don't segfault for a negative field width or precision in format string.

(UNSPECIFIED): Define.
(print_direc): Use the special value, UNSPECIFIED, to indicate
that field_width or precision has not been specified.
(print_formatted): Fail if field_width or precision is the
special value, UNSPECIFIED.

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

21 years agoMake the test larger than 64 bytes, so that we don't
Jim Meyering [Tue, 11 Mar 2003 20:23:31 +0000 (20:23 +0000)]
Make the test larger than 64 bytes, so that we don't
immediately disqualify file systems (e.g., NetApp) on which smaller
files take up zero disk blocks.

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 17:08:50 +0000 (17:08 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 10:08:21 +0000 (10:08 +0000)]
*** empty log message ***

21 years agoInclude <wchar.h>. Needed for UnixWare 7.1.1.
Jim Meyering [Tue, 11 Mar 2003 10:08:15 +0000 (10:08 +0000)]
Include <wchar.h>. Needed for UnixWare 7.1.1.
Reported by John Hughes, see
http://mail.gnu.org/archive/html/bug-bison/2003-02/msg00030.html

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

21 years ago(EXIT_FAILURE): Define if the system doesn't.
Jim Meyering [Tue, 11 Mar 2003 10:07:17 +0000 (10:07 +0000)]
(EXIT_FAILURE): Define if the system doesn't.
Reported by Bruce Becker; see:
http://mail.gnu.org/archive/html/bug-bison/2003-03/msg00017.html

21 years ago*** empty log message ***
Jim Meyering [Mon, 10 Mar 2003 18:27:27 +0000 (18:27 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 10 Mar 2003 18:26:16 +0000 (18:26 +0000)]
*** empty log message ***

21 years agoAdd a test for the above-fixed bug.
Jim Meyering [Mon, 10 Mar 2003 12:24:59 +0000 (12:24 +0000)]
Add a test for the above-fixed bug.

21 years ago(INT_MIN): Define, if necessary.
Jim Meyering [Mon, 10 Mar 2003 10:41:24 +0000 (10:41 +0000)]
(INT_MIN): Define, if necessary.

21 years ago*** empty log message ***
Jim Meyering [Mon, 10 Mar 2003 10:39:31 +0000 (10:39 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Mon, 10 Mar 2003 07:53:39 +0000 (07:53 +0000)]
.

21 years agoInclude "save-cwd.h".
Jim Meyering [Sun, 9 Mar 2003 09:22:55 +0000 (09:22 +0000)]
Include "save-cwd.h".
(ftw_startup): Avoid use of getcwd, if possible.
Instead, use fopen/fchdir via save_cwd/restore_cwd.

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Mar 2003 09:14:25 +0000 (09:14 +0000)]
*** empty log message ***

21 years agofix typo in comment
Jim Meyering [Sun, 9 Mar 2003 07:56:29 +0000 (07:56 +0000)]
fix typo in comment

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Mar 2003 07:54:43 +0000 (07:54 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Mar 2003 07:14:28 +0000 (07:14 +0000)]
*** empty log message ***

21 years ago(AD_stack_pop): Cast sizeof... to int before changing its sign.
Jim Meyering [Sun, 9 Mar 2003 07:14:19 +0000 (07:14 +0000)]
(AD_stack_pop): Cast sizeof... to int before changing its sign.
This avoids a warning from gcc on 64-bit systems.
(pop_dir): Reverse order of sign change and cast, to be consistent
with the above.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 21:22:40 +0000 (21:22 +0000)]
*** empty log message ***

21 years ago(evar-check): Check for POSIXLY_CORRECT not as a
Jim Meyering [Sat, 8 Mar 2003 21:22:25 +0000 (21:22 +0000)]
(evar-check): Check for POSIXLY_CORRECT not as a
shell variable, but only in the environment.  With /bin/sh->bash, the
shell variable is set to `y', and that would cause a spurious warning.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 21:04:11 +0000 (21:04 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 19:02:46 +0000 (19:02 +0000)]
*** empty log message ***

21 years agoRequire at least version 1.11 of Expect.pm.
Jim Meyering [Sat, 8 Mar 2003 19:02:38 +0000 (19:02 +0000)]
Require at least version 1.11 of Expect.pm.
Old versions of Expect.pm (e.g., 1.07) lack the log_user function.
Patch by Bob Proulx.

21 years agoBefore, when using shred on a device, one had to specify --exact,
Jim Meyering [Sat, 8 Mar 2003 16:57:55 +0000 (16:57 +0000)]
Before, when using shred on a device, one had to specify --exact,
or be careful to choose a size that would not be rounded up and
exceed the maximum value;  that could result in a failure of
the final write.

(do_wipefd): --exact is now the default for non-regular
files.  Suggestion from Ben Elliston.
(usage): Say it.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 16:55:50 +0000 (16:55 +0000)]
*** empty log message ***

21 years ago(check-root): Remove touch/fifo.
Jim Meyering [Sat, 8 Mar 2003 16:55:42 +0000 (16:55 +0000)]
(check-root): Remove touch/fifo.
It doesn't appear to have to be run as root.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 16:44:04 +0000 (16:44 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 16:43:52 +0000 (16:43 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 16:43:48 +0000 (16:43 +0000)]
*** empty log message ***

21 years agoRather than simply using the first non-root
Jim Meyering [Sat, 8 Mar 2003 16:43:43 +0000 (16:43 +0000)]
Rather than simply using the first non-root
username, make sure that the selected user name has a usable shell.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 15:47:57 +0000 (15:47 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 15:32:23 +0000 (15:32 +0000)]
*** empty log message ***

21 years agoAlso check for the log_user method, to avoid
Jim Meyering [Sat, 8 Mar 2003 15:32:17 +0000 (15:32 +0000)]
Also check for the log_user method, to avoid
spurious failure when using an old version of Expect.pm (e.g., 1.07).
Reported by Bob Proulx.

21 years ago.
Jim Meyering [Sat, 8 Mar 2003 14:32:57 +0000 (14:32 +0000)]
.

21 years agoRemove now-unused #include and #define directives.
Jim Meyering [Sat, 8 Mar 2003 14:30:28 +0000 (14:30 +0000)]
Remove now-unused #include and #define directives.

21 years ago(check-misc): Check for use of `defined' in #define directives.
Jim Meyering [Sat, 8 Mar 2003 14:30:14 +0000 (14:30 +0000)]
(check-misc): Check for use of `defined' in #define directives.
Change to $(srcdir) before running grep.

21 years agoDon't use `defined' in a #define directive.
Jim Meyering [Sat, 8 Mar 2003 14:26:48 +0000 (14:26 +0000)]
Don't use `defined' in a #define directive.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:28:41 +0000 (10:28 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 8 Mar 2003 10:27:19 +0000 (10:27 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:26:32 +0000 (10:26 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:25:25 +0000 (10:25 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 8 Mar 2003 10:24:00 +0000 (10:24 +0000)]
.

21 years agoEnsure that hard links _are_ listed twice when using --count-links.
Jim Meyering [Sat, 8 Mar 2003 10:23:45 +0000 (10:23 +0000)]
Ensure that hard links _are_ listed twice when using --count-links.

21 years ago(process_file): If a file's size is not being counted
Jim Meyering [Sat, 8 Mar 2003 10:21:19 +0000 (10:21 +0000)]
(process_file): If a file's size is not being counted
e.g., because it's a hard link to a file we've already counted,
then don't print a line for it.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:18:26 +0000 (10:18 +0000)]
*** empty log message ***

21 years ago`du -S' didn't work
Jim Meyering [Sat, 8 Mar 2003 10:18:19 +0000 (10:18 +0000)]
`du -S' didn't work

Revert most of the `reorganization' change of 2003-02-20,
and make the two-array approach work.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:14:33 +0000 (10:14 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:10:59 +0000 (10:10 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:10:09 +0000 (10:10 +0000)]
*** empty log message ***

21 years ago(TESTS): Add hard-link.
Jim Meyering [Sat, 8 Mar 2003 09:56:14 +0000 (09:56 +0000)]
(TESTS): Add hard-link.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 09:50:12 +0000 (09:50 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 8 Mar 2003 09:48:27 +0000 (09:48 +0000)]
.

21 years agoCorrect/add tests for the above fix.
Jim Meyering [Sat, 8 Mar 2003 08:39:07 +0000 (08:39 +0000)]
Correct/add tests for the above fix.
Set LC_ALL, etc, now that we use sort.
Check the block/size of a small file, too.
Correct expected results for simple dir1/dir2/file case.
Add another test of du -S.

21 years ago.
Jim Meyering [Fri, 7 Mar 2003 23:48:40 +0000 (23:48 +0000)]
.

21 years agoremove mmap-stack.c
Jim Meyering [Fri, 7 Mar 2003 23:43:09 +0000 (23:43 +0000)]
remove mmap-stack.c

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 23:42:35 +0000 (23:42 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Fri, 7 Mar 2003 23:37:10 +0000 (23:37 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 23:36:49 +0000 (23:36 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 23:26:35 +0000 (23:26 +0000)]
*** empty log message ***

21 years ago(print_it): Use putchar, not fputs, to output a single character.
Jim Meyering [Fri, 7 Mar 2003 23:24:53 +0000 (23:24 +0000)]
(print_it): Use putchar, not fputs, to output a single character.

21 years ago(dired_dump_obstack): Use putchar, not fputs, to output a single character.
Jim Meyering [Fri, 7 Mar 2003 23:22:54 +0000 (23:22 +0000)]
(dired_dump_obstack): Use putchar, not fputs, to output a single character.

21 years ago(usage): Use putchar, not fputs, to output a single character.
Jim Meyering [Fri, 7 Mar 2003 23:22:14 +0000 (23:22 +0000)]
(usage): Use putchar, not fputs, to output a single character.

21 years ago(output_one_tex_line, output_one_dumb_line):
Jim Meyering [Fri, 7 Mar 2003 23:21:45 +0000 (23:21 +0000)]
(output_one_tex_line, output_one_dumb_line):
Use putchar, not fputs, to output a single character.

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 20:01:46 +0000 (20:01 +0000)]
*** empty log message ***