Jim Meyering [Fri, 14 Mar 2003 15:40:34 +0000 (15:40 +0000)]
(prev_version_file): Don't use ?= for this particular
assignment, since it causes trouble with old versions of GNU make
(e.g. 3.76.1). The other uses of `?=' are inoffensive. Details here.
http://mail.gnu.org/archive/html/bug-coreutils/2003-03/msg00028.html
Patch from Alexandre Duret-Lutz.
Jim Meyering [Fri, 14 Mar 2003 13:56:33 +0000 (13:56 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 13:54:36 +0000 (13:54 +0000)]
.
Jim Meyering [Fri, 14 Mar 2003 13:16:21 +0000 (13:16 +0000)]
.
Jim Meyering [Fri, 14 Mar 2003 12:52:19 +0000 (12:52 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 Mar 2003 12:52:13 +0000 (12:52 +0000)]
Include "xalloc.h".
Jim Meyering [Fri, 14 Mar 2003 09:54:48 +0000 (09:54 +0000)]
*** empty log message ***
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.
Jim Meyering [Fri, 14 Mar 2003 09:50:49 +0000 (09:50 +0000)]
.
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.
Jim Meyering [Fri, 14 Mar 2003 09:45:37 +0000 (09:45 +0000)]
bump to 4.5.11
Jim Meyering [Fri, 14 Mar 2003 09:44:59 +0000 (09:44 +0000)]
(main): Label the compressed source URLs.
Jim Meyering [Fri, 14 Mar 2003 08:37:36 +0000 (08:37 +0000)]
.
Jim Meyering [Fri, 14 Mar 2003 08:13:06 +0000 (08:13 +0000)]
.
Jim Meyering [Fri, 14 Mar 2003 07:56:15 +0000 (07:56 +0000)]
*** empty log message ***
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.
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.
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
Jim Meyering [Fri, 14 Mar 2003 06:48:13 +0000 (06:48 +0000)]
reformat a little
Jim Meyering [Thu, 13 Mar 2003 21:25:48 +0000 (21:25 +0000)]
.
Jim Meyering [Thu, 13 Mar 2003 21:06:06 +0000 (21:06 +0000)]
*** empty log message ***
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.
Jim Meyering [Thu, 13 Mar 2003 13:16:15 +0000 (13:16 +0000)]
.
Jim Meyering [Thu, 13 Mar 2003 13:16:04 +0000 (13:16 +0000)]
*** empty log message ***
Jim Meyering [Thu, 13 Mar 2003 13:15:56 +0000 (13:15 +0000)]
tweak wording
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.
Jim Meyering [Thu, 13 Mar 2003 13:08:19 +0000 (13:08 +0000)]
*** empty log message ***
Jim Meyering [Thu, 13 Mar 2003 13:07:15 +0000 (13:07 +0000)]
*** empty log message ***
Jim Meyering [Thu, 13 Mar 2003 13:07:11 +0000 (13:07 +0000)]
.
Jim Meyering [Thu, 13 Mar 2003 13:06:50 +0000 (13:06 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 12 Mar 2003 23:14:15 +0000 (23:14 +0000)]
.
Jim Meyering [Wed, 12 Mar 2003 09:47:23 +0000 (09:47 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 22:54:36 +0000 (22:54 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 22:20:54 +0000 (22:20 +0000)]
Make the test file exactly 4k bytes long.
Jim Meyering [Tue, 11 Mar 2003 22:12:42 +0000 (22:12 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 22:12:38 +0000 (22:12 +0000)]
*** empty log message ***
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.
Jim Meyering [Tue, 11 Mar 2003 20:34:29 +0000 (20:34 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 20:31:53 +0000 (20:31 +0000)]
*** empty log message ***
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.
Jim Meyering [Tue, 11 Mar 2003 20:23:38 +0000 (20:23 +0000)]
*** empty log message ***
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.
Jim Meyering [Tue, 11 Mar 2003 17:08:50 +0000 (17:08 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 Mar 2003 10:08:21 +0000 (10:08 +0000)]
*** empty log message ***
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
Jim Meyering [Tue, 11 Mar 2003 10:07:21 +0000 (10:07 +0000)]
*** empty log message ***
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
Jim Meyering [Mon, 10 Mar 2003 18:27:27 +0000 (18:27 +0000)]
*** empty log message ***
Jim Meyering [Mon, 10 Mar 2003 18:26:16 +0000 (18:26 +0000)]
*** empty log message ***
Jim Meyering [Mon, 10 Mar 2003 12:24:59 +0000 (12:24 +0000)]
Add a test for the above-fixed bug.
Jim Meyering [Mon, 10 Mar 2003 10:41:24 +0000 (10:41 +0000)]
(INT_MIN): Define, if necessary.
Jim Meyering [Mon, 10 Mar 2003 10:39:31 +0000 (10:39 +0000)]
*** empty log message ***
Jim Meyering [Mon, 10 Mar 2003 07:53:39 +0000 (07:53 +0000)]
.
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.
Jim Meyering [Sun, 9 Mar 2003 09:14:25 +0000 (09:14 +0000)]
*** empty log message ***
Jim Meyering [Sun, 9 Mar 2003 07:56:29 +0000 (07:56 +0000)]
fix typo in comment
Jim Meyering [Sun, 9 Mar 2003 07:54:43 +0000 (07:54 +0000)]
*** empty log message ***
Jim Meyering [Sun, 9 Mar 2003 07:14:28 +0000 (07:14 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 8 Mar 2003 21:22:40 +0000 (21:22 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 8 Mar 2003 21:04:11 +0000 (21:04 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 19:02:46 +0000 (19:02 +0000)]
*** empty log message ***
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.
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.
Jim Meyering [Sat, 8 Mar 2003 16:55:50 +0000 (16:55 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 8 Mar 2003 16:44:04 +0000 (16:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 16:43:52 +0000 (16:43 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 16:43:48 +0000 (16:43 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 8 Mar 2003 15:47:57 +0000 (15:47 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 15:32:23 +0000 (15:32 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 8 Mar 2003 14:32:57 +0000 (14:32 +0000)]
.
Jim Meyering [Sat, 8 Mar 2003 14:30:28 +0000 (14:30 +0000)]
Remove now-unused #include and #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.
Jim Meyering [Sat, 8 Mar 2003 14:26:48 +0000 (14:26 +0000)]
Don't use `defined' in a #define directive.
Jim Meyering [Sat, 8 Mar 2003 10:28:41 +0000 (10:28 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:27:19 +0000 (10:27 +0000)]
.
Jim Meyering [Sat, 8 Mar 2003 10:26:32 +0000 (10:26 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:25:25 +0000 (10:25 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:24:00 +0000 (10:24 +0000)]
.
Jim Meyering [Sat, 8 Mar 2003 10:23:45 +0000 (10:23 +0000)]
Ensure that hard links _are_ listed twice when using --count-links.
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.
Jim Meyering [Sat, 8 Mar 2003 10:18:26 +0000 (10:18 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 8 Mar 2003 10:14:33 +0000 (10:14 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:10:59 +0000 (10:10 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 10:10:09 +0000 (10:10 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 09:56:14 +0000 (09:56 +0000)]
(TESTS): Add hard-link.
Jim Meyering [Sat, 8 Mar 2003 09:50:12 +0000 (09:50 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Mar 2003 09:48:27 +0000 (09:48 +0000)]
.
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.
Jim Meyering [Fri, 7 Mar 2003 23:48:40 +0000 (23:48 +0000)]
.
Jim Meyering [Fri, 7 Mar 2003 23:43:09 +0000 (23:43 +0000)]
remove mmap-stack.c
Jim Meyering [Fri, 7 Mar 2003 23:42:35 +0000 (23:42 +0000)]
*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 23:37:10 +0000 (23:37 +0000)]
.
Jim Meyering [Fri, 7 Mar 2003 23:36:49 +0000 (23:36 +0000)]
*** empty log message ***