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 ***
Jim Meyering [Fri, 7 Mar 2003 23:26:35 +0000 (23:26 +0000)]
*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 23:24:53 +0000 (23:24 +0000)]
(print_it): 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.
Jim Meyering [Fri, 7 Mar 2003 23:22:14 +0000 (23:22 +0000)]
(usage): Use putchar, not fputs, to output a single character.
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.
Jim Meyering [Fri, 7 Mar 2003 20:01:46 +0000 (20:01 +0000)]
*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 20:01:35 +0000 (20:01 +0000)]
Remove everything associated with mmap-stack.c.
This reverts the two changes of 2003-02-21.
Jim Meyering [Fri, 7 Mar 2003 19:53:59 +0000 (19:53 +0000)]
*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 19:52:19 +0000 (19:52 +0000)]
Don't require AC_SYS_MMAP_STACK.
Jim Meyering [Fri, 7 Mar 2003 19:52:03 +0000 (19:52 +0000)]
(AC_LANG_SOURCE(C)): New macro.
Jim Meyering [Fri, 7 Mar 2003 19:51:00 +0000 (19:51 +0000)]
.
Jim Meyering [Fri, 7 Mar 2003 19:49:56 +0000 (19:49 +0000)]
(libfetish_a_SOURCES): Remove mmap-stack.h.
Jim Meyering [Fri, 7 Mar 2003 19:49:20 +0000 (19:49 +0000)]
.
Jim Meyering [Fri, 7 Mar 2003 19:47:24 +0000 (19:47 +0000)]
*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 19:47:18 +0000 (19:47 +0000)]
Remove everything associated with mmap-stack.c.
This reverts the change of 2003-02-19.
Jim Meyering [Fri, 7 Mar 2003 13:01:02 +0000 (13:01 +0000)]
*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 12:59:30 +0000 (12:59 +0000)]
Test the -S option using a hierarchy containing files, too,
not just directories.
Jim Meyering [Fri, 7 Mar 2003 10:16:50 +0000 (10:16 +0000)]
*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 10:13:55 +0000 (10:13 +0000)]
#undef getcwd only after *all* included header files.
Declare getcwd unconditionally.
Jim Meyering [Fri, 7 Mar 2003 09:57:33 +0000 (09:57 +0000)]
*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 09:57:29 +0000 (09:57 +0000)]
(GL_FUNC_GETCWD_PATH_MAX): Check for declaration of getcwd.
Jim Meyering [Fri, 7 Mar 2003 09:52:34 +0000 (09:52 +0000)]
*** empty log message ***
Jim Meyering [Fri, 7 Mar 2003 09:52:28 +0000 (09:52 +0000)]
(same_name): Remove unnecessary inclusion of config.h.
It also happened to lead to infinite recursion in getcwd.c.
(PARAMS): Remove definition and use.
Jim Meyering [Thu, 6 Mar 2003 22:24:06 +0000 (22:24 +0000)]
undo last change
Jim Meyering [Thu, 6 Mar 2003 22:23:26 +0000 (22:23 +0000)]
#undef getcwd before including system headers.
This avoid a build failure on IRIX 6.5. Reported by Nelson Beebe.
Jim Meyering [Thu, 6 Mar 2003 22:04:54 +0000 (22:04 +0000)]
*** empty log message ***
Jim Meyering [Thu, 6 Mar 2003 22:04:45 +0000 (22:04 +0000)]
[!HAVE_DECL_GETCWD]: Declare getcwd.
Jim Meyering [Thu, 6 Mar 2003 22:04:23 +0000 (22:04 +0000)]
*** empty log message ***
Jim Meyering [Thu, 6 Mar 2003 22:04:19 +0000 (22:04 +0000)]
(GL_FUNC_GETCWD_PATH_MAX): Check for declaration of getcwd.
Jim Meyering [Thu, 6 Mar 2003 14:14:22 +0000 (14:14 +0000)]
*** empty log message ***
Jim Meyering [Thu, 6 Mar 2003 14:14:16 +0000 (14:14 +0000)]
Fix a bug that causes du to dump core on 64-bit systems.
(ftw_startup): Declare `func' parameter to be of type
NFTW_FUNC_T, not void* which may be smaller on 64-bit systems.
Remove now-unnecessary cast.
(FTW_NAME): Cast func argument to type `NFTW_FUNC_T'.
Jim Meyering [Thu, 6 Mar 2003 07:44:00 +0000 (07:44 +0000)]
*** empty log message ***
Jim Meyering [Thu, 6 Mar 2003 07:43:45 +0000 (07:43 +0000)]
Unset CDPATH. Otherwise, having the
CDPATH shell variable set could cause this test to fail.
Jim Meyering [Wed, 5 Mar 2003 20:46:39 +0000 (20:46 +0000)]
bump to 4.5.10
Jim Meyering [Wed, 5 Mar 2003 18:05:04 +0000 (18:05 +0000)]
.
Jim Meyering [Wed, 5 Mar 2003 17:50:06 +0000 (17:50 +0000)]
.
Jim Meyering [Wed, 5 Mar 2003 17:44:08 +0000 (17:44 +0000)]
(print_esc): Remove pointless comparison of unsigned
integer with zero, to avoid a warning from Intel's ecc.
Jim Meyering [Wed, 5 Mar 2003 13:12:02 +0000 (13:12 +0000)]
.
Jim Meyering [Wed, 5 Mar 2003 11:06:41 +0000 (11:06 +0000)]
*** empty log message ***
Jim Meyering [Wed, 5 Mar 2003 11:06:18 +0000 (11:06 +0000)]
(ARRAY_SIZE): Define it.
Jim Meyering [Wed, 5 Mar 2003 10:48:41 +0000 (10:48 +0000)]
add comment
Jim Meyering [Wed, 5 Mar 2003 10:45:38 +0000 (10:45 +0000)]
fix logic error
Jim Meyering [Wed, 5 Mar 2003 10:29:38 +0000 (10:29 +0000)]
#undef mkdir to avoid link errors on
i386-unknown-netbsdelf1.6
Jim Meyering [Wed, 5 Mar 2003 09:25:26 +0000 (09:25 +0000)]
.
Jim Meyering [Wed, 5 Mar 2003 09:05:38 +0000 (09:05 +0000)]
.