Jim Meyering [Mon, 29 May 2000 16:23:04 +0000 (16:23 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 May 2000 16:22:03 +0000 (16:22 +0000)]
.
Jim Meyering [Mon, 29 May 2000 16:20:07 +0000 (16:20 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 May 2000 15:43:12 +0000 (15:43 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 May 2000 21:29:14 +0000 (21:29 +0000)]
.
Jim Meyering [Sun, 28 May 2000 21:28:05 +0000 (21:28 +0000)]
bump serial number
Jim Meyering [Sun, 28 May 2000 21:27:04 +0000 (21:27 +0000)]
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
Jim Meyering [Sun, 28 May 2000 21:24:54 +0000 (21:24 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 May 2000 21:24:42 +0000 (21:24 +0000)]
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
Jim Meyering [Sun, 28 May 2000 21:21:42 +0000 (21:21 +0000)]
.
Jim Meyering [Sun, 28 May 2000 17:36:36 +0000 (17:36 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 May 2000 16:49:22 +0000 (16:49 +0000)]
s/jm_FUNC_STRERROR_R/AC_FUNC_STRERROR_R/.
Jim Meyering [Sun, 28 May 2000 16:48:25 +0000 (16:48 +0000)]
.
Jim Meyering [Sat, 27 May 2000 21:26:50 +0000 (21:26 +0000)]
.
Jim Meyering [Sat, 27 May 2000 21:17:39 +0000 (21:17 +0000)]
Arrange to call close_stdout upon exit.
Don't close stdout explicitly.
(usage): Add missing backslash at end of line.
(write_header): Remove now-unused COMMENT parameter.
Update all callers.
Jim Meyering [Sat, 27 May 2000 21:14:26 +0000 (21:14 +0000)]
Arrange to call close_stdout upon exit.
Don't close stdout explicitly. Replace uses of global constant,
output_desc, with uses of STDOUT_FILENO.
Jim Meyering [Fri, 26 May 2000 21:39:19 +0000 (21:39 +0000)]
*** empty log message ***
Jim Meyering [Fri, 26 May 2000 21:39:16 +0000 (21:39 +0000)]
Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
Jim Meyering [Thu, 25 May 2000 07:14:22 +0000 (07:14 +0000)]
*** empty log message ***
Jim Meyering [Thu, 25 May 2000 07:14:13 +0000 (07:14 +0000)]
(close_stdout_wrapper): Don't dereference NULL pointer.
From Bob Proulx.
Jim Meyering [Wed, 24 May 2000 07:50:18 +0000 (07:50 +0000)]
*** empty log message ***
Jim Meyering [Wed, 24 May 2000 07:50:05 +0000 (07:50 +0000)]
Use []-quoted list in AC_CHECK_MEMBERS, now that autoconf requires that.
Jim Meyering [Wed, 24 May 2000 07:49:38 +0000 (07:49 +0000)]
Use []-quoted list in AC_CHECK_MEMBERS, now that autoconf requires that.
Jim Meyering [Wed, 24 May 2000 07:49:09 +0000 (07:49 +0000)]
(jm_LIB_CHECK): Use []-quoted list in
AC_CHECK_MEMBERS, now that autoconf requires that.
Jim Meyering [Wed, 24 May 2000 07:48:04 +0000 (07:48 +0000)]
(jm_PREREQ_READUTMP): Use []-quoted list in
AC_CHECK_MEMBERS, now that autoconf requires that.
Jim Meyering [Wed, 24 May 2000 07:46:55 +0000 (07:46 +0000)]
(jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
now that autoconf requires that.
Jim Meyering [Wed, 24 May 2000 07:10:12 +0000 (07:10 +0000)]
(head_file): Use STDIN_FILENO in place of `0'.
(main): Likewise.
Jim Meyering [Tue, 23 May 2000 21:14:40 +0000 (21:14 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 May 2000 21:14:33 +0000 (21:14 +0000)]
Add traps to clean up.
Correct broken running-as-root test.
Jim Meyering [Tue, 23 May 2000 21:13:28 +0000 (21:13 +0000)]
Exit 77 when run as root. Reported by Andreas Schwab.
Jim Meyering [Tue, 23 May 2000 08:42:18 +0000 (08:42 +0000)]
.
Jim Meyering [Mon, 22 May 2000 22:08:15 +0000 (22:08 +0000)]
.
Jim Meyering [Mon, 22 May 2000 22:07:29 +0000 (22:07 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 May 2000 08:35:36 +0000 (08:35 +0000)]
Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
Jim Meyering [Mon, 22 May 2000 06:24:50 +0000 (06:24 +0000)]
Remove old, now-unnecessary `#ifdef __MSDOS__' block.
Jim Meyering [Sun, 21 May 2000 07:14:41 +0000 (07:14 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 22:06:38 +0000 (22:06 +0000)]
Arrange to call close_stdout upon exit. Don't close stdout explicitly.
Jim Meyering [Sat, 20 May 2000 22:04:40 +0000 (22:04 +0000)]
Arrange to call close_stdout upon exit. Don't close stdout explicitly.
Jim Meyering [Sat, 20 May 2000 22:04:16 +0000 (22:04 +0000)]
Arrange to call close_stdout upon exit. Don't close stdout explicitly.
Jim Meyering [Sat, 20 May 2000 22:03:55 +0000 (22:03 +0000)]
Arrange to call close_stdout upon exit. Don't close stdout explicitly.
Jim Meyering [Sat, 20 May 2000 22:03:12 +0000 (22:03 +0000)]
Arrange to call close_stdout upon exit. Don't close stdout explicitly.
(but set exit status and file name, too)
Jim Meyering [Sat, 20 May 2000 21:48:55 +0000 (21:48 +0000)]
.
Jim Meyering [Sat, 20 May 2000 15:49:03 +0000 (15:49 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 15:46:52 +0000 (15:46 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 15:45:10 +0000 (15:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 15:43:44 +0000 (15:43 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 15:39:13 +0000 (15:39 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 15:37:26 +0000 (15:37 +0000)]
add format args to match new %lu directives
Jim Meyering [Sat, 20 May 2000 12:41:13 +0000 (12:41 +0000)]
tweak warning diagnostic
Jim Meyering [Sat, 20 May 2000 09:46:19 +0000 (09:46 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 09:46:14 +0000 (09:46 +0000)]
(jm_PREREQ_HUMAN): New macro.
(jm_PREREQ): Use it.
Jim Meyering [Sat, 20 May 2000 09:45:08 +0000 (09:45 +0000)]
(TESTS): Add i-2.
Jim Meyering [Sat, 20 May 2000 09:44:46 +0000 (09:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 09:44:20 +0000 (09:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 09:43:40 +0000 (09:43 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 09:35:13 +0000 (09:35 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 09:31:14 +0000 (09:31 +0000)]
.
Jim Meyering [Sat, 20 May 2000 09:30:01 +0000 (09:30 +0000)]
.
Jim Meyering [Sat, 20 May 2000 09:24:29 +0000 (09:24 +0000)]
.
Jim Meyering [Sat, 20 May 2000 09:23:48 +0000 (09:23 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 May 2000 09:23:41 +0000 (09:23 +0000)]
(struct File_spec) [have_device, st_dev]: New members
Jim Meyering [Sat, 20 May 2000 09:23:27 +0000 (09:23 +0000)]
Save device number as well as inode number for each directory.
(struct active_dir_ent) [st_dev]: New member.
[st_ino]: Rename from `inum'.
(make_active_dir_ent) [device]: New parameter.
(hash_compare_active_dir_ents): Compare using SAME_INODE macro.
(fspec_init_common): New function, factored out.
(fspec_init_file): Initialize have_device member.
(fspec_get_full_mode): Remove parameter. Update caller.
Set have_device and st_dev members.
Jim Meyering [Sat, 20 May 2000 09:09:18 +0000 (09:09 +0000)]
add RUN_EXPENSIVE_TESTS junk
Jim Meyering [Sat, 20 May 2000 08:52:03 +0000 (08:52 +0000)]
don't use $test
Jim Meyering [Sat, 20 May 2000 08:48:39 +0000 (08:48 +0000)]
fail if final rm fails
Jim Meyering [Sat, 20 May 2000 08:42:44 +0000 (08:42 +0000)]
Clean up.
Jim Meyering [Sat, 20 May 2000 08:11:51 +0000 (08:11 +0000)]
reorder so as not to use `head -c N'
Jim Meyering [Fri, 19 May 2000 22:37:45 +0000 (22:37 +0000)]
(LC_ALL): Set it unconditionally.
Jim Meyering [Fri, 19 May 2000 07:12:09 +0000 (07:12 +0000)]
warn the user it will take a while
Jim Meyering [Fri, 19 May 2000 07:10:09 +0000 (07:10 +0000)]
put hash at the end of the list
Jim Meyering [Thu, 18 May 2000 21:10:55 +0000 (21:10 +0000)]
(rm): Combine adjacent fputc and fprintf.
Jim Meyering [Thu, 18 May 2000 14:56:42 +0000 (14:56 +0000)]
remove some parens from some cpp lines
Jim Meyering [Thu, 18 May 2000 14:49:34 +0000 (14:49 +0000)]
(remove_dir): Detect (and fail upon) attempt to subvert a running `rm -r'.
Reported by Morten Welinder.
Jim Meyering [Thu, 18 May 2000 14:28:09 +0000 (14:28 +0000)]
.
Jim Meyering [Thu, 18 May 2000 14:26:19 +0000 (14:26 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 May 2000 14:26:00 +0000 (14:26 +0000)]
(TESTS): Add hash.
Jim Meyering [Thu, 18 May 2000 14:24:58 +0000 (14:24 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 May 2000 11:12:39 +0000 (11:12 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 May 2000 11:06:39 +0000 (11:06 +0000)]
(hash_rehash): Fix a nasty bug: copy the free entry list
back, too, since it may have been modified by allocate_entry.
(hash_delete): Rewrite not to use both(!) the assignment operator
and the comma operator in an if-expression.
Jim Meyering [Wed, 17 May 2000 12:21:02 +0000 (12:21 +0000)]
*** empty log message ***
Jim Meyering [Wed, 17 May 2000 12:19:39 +0000 (12:19 +0000)]
tweak comment
Jim Meyering [Tue, 16 May 2000 14:42:22 +0000 (14:42 +0000)]
*** empty log message ***
Jim Meyering [Tue, 16 May 2000 14:36:55 +0000 (14:36 +0000)]
<sys/stat.h>, <sys/types.h>, <unistd.h>, (STDOUT_FILENO):
Remove; no longer needed.
"quotearg.h": Add include.
(file_name): Do not bother to explicitly initialize to NULL; it's less
efficient on some hosts.
(close_stdout_status): Remove test as to whether stdout was already
closed; it breaks for the case "echo x | sort >&-".
Quote file name colons.
Do not assume that _("write error") lacks format strings.
Jim Meyering [Mon, 15 May 2000 20:42:08 +0000 (20:42 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 May 2000 20:41:52 +0000 (20:41 +0000)]
(do_link): Use complete strings in diagnostics so they
are easier to translate. Reported by Michel Robitaille.
(main): Drop support for the case in which S_ISLNK wasn't defined.
It was broken in any case.
Jim Meyering [Mon, 15 May 2000 10:22:01 +0000 (10:22 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 May 2000 10:21:56 +0000 (10:21 +0000)]
(close_stdout_set_file_name): Declare.
Jim Meyering [Mon, 15 May 2000 10:21:25 +0000 (10:21 +0000)]
(close_stdout_set_file_name): New function.
(close_stdout_status): Use new file-scoped global.
Return right away if fstat says the stdout file descriptor is invalid.
Jim Meyering [Mon, 15 May 2000 08:00:19 +0000 (08:00 +0000)]
.
Jim Meyering [Mon, 15 May 2000 07:18:44 +0000 (07:18 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 May 2000 07:18:38 +0000 (07:18 +0000)]
Set LC_ALL to `C' to avoid failure when the
current locale is not C (POSIX). From Matthew Clarke.
Jim Meyering [Mon, 15 May 2000 07:18:17 +0000 (07:18 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 May 2000 07:11:30 +0000 (07:11 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 May 2000 07:11:16 +0000 (07:11 +0000)]
(version_etc_copyright): Update the copyright string
that goes into all --version output.
Jim Meyering [Mon, 15 May 2000 07:08:38 +0000 (07:08 +0000)]
(test_vector): Skip the %c test on SunOS4 systems.
Suggested by Paul Eggert. Reported by Volker Borchert.
Jim Meyering [Sat, 13 May 2000 06:51:51 +0000 (06:51 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 May 2000 06:49:53 +0000 (06:49 +0000)]
Arrange to call close_stdout only upon exit.
Jim Meyering [Sat, 13 May 2000 06:46:55 +0000 (06:46 +0000)]
Include closeout.h.
(usage): Don't call close_stdout here.
(close_stdout_wrapper): New, kludgey, function and file-scoped global.
(main): Register it with atexit.
Jim Meyering [Fri, 12 May 2000 22:39:10 +0000 (22:39 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 May 2000 22:38:58 +0000 (22:38 +0000)]
Detect and report write failure of --help/--version.