Jim Meyering [Thu, 4 Mar 2004 13:08:37 +0000 (13:08 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 13:08:29 +0000 (13:08 +0000)]
(set_cloexec_flag) [ ! (F_GETFD && F_SETFD)]: Return true, not false.
Jim Meyering [Thu, 4 Mar 2004 08:50:58 +0000 (08:50 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 08:50:50 +0000 (08:50 +0000)]
(main): Don't invoke set_cloexec_flag with a file descriptor of -1.
Jim Meyering [Thu, 4 Mar 2004 08:50:34 +0000 (08:50 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 08:49:10 +0000 (08:49 +0000)]
Include <stdbool.h>.
Adjust signature to use `bool' rather than `int'.
Jim Meyering [Thu, 4 Mar 2004 08:42:20 +0000 (08:42 +0000)]
Include "cloexec.h" first, and <unistd.h> before <fcntl.h>.
(set_cloexec_flag): Use bool for booleans. All uses changed.
If F_GETFD returns a negative number (not just -1), report a
failure. Don't use F_SETFD if the flags are already right.
Don't report a failure with F_SETFD unless it returns -1.
Jim Meyering [Wed, 3 Mar 2004 22:06:47 +0000 (22:06 +0000)]
Include "cloexec.h".
(getloadavg): Use set_cloexec_flag instead of manual fcntl call.
Jim Meyering [Wed, 3 Mar 2004 22:06:26 +0000 (22:06 +0000)]
.
Jim Meyering [Wed, 3 Mar 2004 22:06:17 +0000 (22:06 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 Mar 2004 22:06:11 +0000 (22:06 +0000)]
(libfetish_a_SOURCES): Add cloexec.c, cloexec.h.
Jim Meyering [Wed, 3 Mar 2004 22:01:56 +0000 (22:01 +0000)]
from Dmitry V. Levin
Jim Meyering [Wed, 3 Mar 2004 22:01:32 +0000 (22:01 +0000)]
New file.
The set_cloexec_flag implementation imported from GNU C Library
Reference Manual.
Jim Meyering [Wed, 3 Mar 2004 22:00:20 +0000 (22:00 +0000)]
Include "cloexec.h".
(main): Set the copy of stderr to close on exec.
Jim Meyering [Wed, 3 Mar 2004 07:57:45 +0000 (07:57 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 Mar 2004 07:57:33 +0000 (07:57 +0000)]
Don't include "posixver.h".
(parse_user_spec): Fall back on USER.GROUP parsing regardless
of POSIX version, as POSIX 1003.1-2001 allows that behavior as a
compatible extension. Simplify code by removing a boolean int
that was always nonzero if a string was nonnull.
Jim Meyering [Wed, 3 Mar 2004 07:56:00 +0000 (07:56 +0000)]
.
Jim Meyering [Wed, 3 Mar 2004 07:54:17 +0000 (07:54 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 Mar 2004 07:53:24 +0000 (07:53 +0000)]
*** empty log message ***
Jim Meyering [Wed, 3 Mar 2004 07:52:36 +0000 (07:52 +0000)]
(chown invocation): Document that chown now falls
back on USER.GROUP parsing regardless of POSIX version, as POSIX
1003.1-2001 allows that behavior as a compatible extension.
Jim Meyering [Tue, 2 Mar 2004 23:00:05 +0000 (23:00 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Mar 2004 22:59:47 +0000 (22:59 +0000)]
Run envvar-check in case BLOCK_SIZE etc. are set.
Jim Meyering [Tue, 2 Mar 2004 22:59:10 +0000 (22:59 +0000)]
Run envvar-check in case BLOCK_SIZE etc. are set.
Jim Meyering [Tue, 2 Mar 2004 22:56:17 +0000 (22:56 +0000)]
.
Jim Meyering [Tue, 2 Mar 2004 22:49:48 +0000 (22:49 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Mar 2004 22:49:44 +0000 (22:49 +0000)]
Include <signal.h> when checking for strsignal,
sys_siglist, and friends. Problem reported by Toney Leneis in
<http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00136.html>.
Jim Meyering [Tue, 2 Mar 2004 17:55:08 +0000 (17:55 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Mar 2004 17:55:06 +0000 (17:55 +0000)]
Add Afrikaans (af)
Jim Meyering [Tue, 2 Mar 2004 17:53:59 +0000 (17:53 +0000)]
version: 5.2.0
Jim Meyering [Mon, 23 Feb 2004 21:22:40 +0000 (21:22 +0000)]
*** empty log message ***
Jim Meyering [Mon, 23 Feb 2004 21:22:34 +0000 (21:22 +0000)]
(usage): Remove stray space after \n in --help output.
Jim Meyering [Sun, 22 Feb 2004 21:23:13 +0000 (21:23 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Feb 2004 21:23:06 +0000 (21:23 +0000)]
(usage): Separate -H and --si. Say that the meaning
of -H will soon change to that of --dereference-args (-D).
Jim Meyering [Sun, 22 Feb 2004 15:50:32 +0000 (15:50 +0000)]
update from savannah
Jim Meyering [Sun, 22 Feb 2004 15:49:29 +0000 (15:49 +0000)]
update from savannah
Jim Meyering [Sun, 22 Feb 2004 15:44:32 +0000 (15:44 +0000)]
tweak wording of last change
Jim Meyering [Sun, 22 Feb 2004 15:37:54 +0000 (15:37 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Feb 2004 15:37:50 +0000 (15:37 +0000)]
(du invocation): Mention that using du's -H option currently evokes a warning.
Jim Meyering [Sun, 22 Feb 2004 14:57:52 +0000 (14:57 +0000)]
(VERSION): bump to 5.2.1
Jim Meyering [Sun, 22 Feb 2004 14:57:20 +0000 (14:57 +0000)]
add tests for just-fixed bugs
Jim Meyering [Sun, 22 Feb 2004 14:56:58 +0000 (14:56 +0000)]
(eval, eval7, eval6, eval5, eval4, eval3, eval2, eval1):
Accept a bool argument specifying whether to evaluate the
expression. This is to allow short-circuit evaluation. All
callers changed.
(null): Report that a string is zero even if it has
a form like "-0" or "00".
(eval1, eval): Use short-circuit evaluation for | and &.
(eval): Return 0 if both arguments are null or zero, instead
of returning the first argument.
Jim Meyering [Sun, 22 Feb 2004 14:56:39 +0000 (14:56 +0000)]
.
Jim Meyering [Sat, 21 Feb 2004 09:31:24 +0000 (09:31 +0000)]
*** empty log message ***
Jim Meyering [Sat, 21 Feb 2004 09:31:11 +0000 (09:31 +0000)]
(expr invocation):
Document what forms integers may take, and say "integer"
consistently instead of "number". Warn about operands
that "expr" can misinterpret, and how to work around the problem.
Jim Meyering [Sat, 21 Feb 2004 09:26:56 +0000 (09:26 +0000)]
*** empty log message ***
Jim Meyering [Sat, 21 Feb 2004 09:21:20 +0000 (09:21 +0000)]
*** empty log message ***
Jim Meyering [Sat, 21 Feb 2004 09:21:15 +0000 (09:21 +0000)]
(usage): Tell what comm does when there are no options.
Reword in terms of FILE1 and FILE2 rather than `left file' and
`right file'. Suggestion from Dan Jacobson.
Jim Meyering [Thu, 19 Feb 2004 18:22:13 +0000 (18:22 +0000)]
.
Jim Meyering [Thu, 19 Feb 2004 18:04:33 +0000 (18:04 +0000)]
*** empty log message ***
Jim Meyering [Wed, 18 Feb 2004 18:00:17 +0000 (18:00 +0000)]
*** empty log message ***
Jim Meyering [Wed, 18 Feb 2004 17:57:42 +0000 (17:57 +0000)]
*** empty log message ***
Jim Meyering [Wed, 18 Feb 2004 17:49:59 +0000 (17:49 +0000)]
.
Jim Meyering [Wed, 18 Feb 2004 13:50:42 +0000 (13:50 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Feb 2004 18:17:27 +0000 (18:17 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Feb 2004 18:16:29 +0000 (18:16 +0000)]
(csplit invocation): Correct typo s/LINE/N/
in description of `N' pattern.
Jim Meyering [Tue, 17 Feb 2004 16:05:41 +0000 (16:05 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Feb 2004 16:05:34 +0000 (16:05 +0000)]
Add id's -u option, so we don't get spurious
failures when there are no user or group names.
Jim Meyering [Tue, 17 Feb 2004 14:42:47 +0000 (14:42 +0000)]
`make check' from a build inside a chroot environment would fail
Specify an argument (`/') for df, in the
unusual event that there is no valid entry in /etc/mtab.
Patch by Tim Waugh.
Jim Meyering [Tue, 17 Feb 2004 10:53:47 +0000 (10:53 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Feb 2004 10:52:49 +0000 (10:52 +0000)]
(usage) [-u]: Add punctuation so that the description in
the help2man-generated (line-joined) man page is more readable.
Reported by Tim Waugh.
[-T]: Add a semicolon, for the same reason.
Jim Meyering [Sun, 15 Feb 2004 00:03:28 +0000 (00:03 +0000)]
*** empty log message ***
Jim Meyering [Sun, 15 Feb 2004 00:03:21 +0000 (00:03 +0000)]
(dist-hook): Qualify target with $(srcdir)/ prefix.
Jim Meyering [Sat, 14 Feb 2004 13:40:02 +0000 (13:40 +0000)]
.
Jim Meyering [Wed, 11 Feb 2004 15:33:38 +0000 (15:33 +0000)]
regenerate from patched Makefile.am.in
Jim Meyering [Wed, 11 Feb 2004 11:46:37 +0000 (11:46 +0000)]
*** empty log message ***
Jim Meyering [Wed, 11 Feb 2004 11:46:34 +0000 (11:46 +0000)]
($(srcdir)/Makefile.am): Use more portable
$(srcdir)/../Makefile.am.in, rather than $<.
Suggestion from Michael Elizabeth Chastain.
Jim Meyering [Wed, 11 Feb 2004 11:45:47 +0000 (11:45 +0000)]
*** empty log message ***
Jim Meyering [Wed, 11 Feb 2004 11:22:18 +0000 (11:22 +0000)]
(Formatting the file names):
Improve wording for --quoting-style documentation.
Suggestions by Bruno Haible.
Jim Meyering [Wed, 11 Feb 2004 08:44:39 +0000 (08:44 +0000)]
revert unrelated (ls --quoting-style) part of last change
Jim Meyering [Wed, 11 Feb 2004 08:42:43 +0000 (08:42 +0000)]
*** empty log message ***
Jim Meyering [Wed, 11 Feb 2004 08:42:36 +0000 (08:42 +0000)]
*** empty log message ***
Jim Meyering [Wed, 11 Feb 2004 08:42:31 +0000 (08:42 +0000)]
(Time directives): The %s value *is* changed by the
--date=DATE option; don't say otherwise. Patch from Padraig Brady.
Jim Meyering [Tue, 10 Feb 2004 10:06:53 +0000 (10:06 +0000)]
bump to 5.2.0
Jim Meyering [Tue, 10 Feb 2004 10:06:39 +0000 (10:06 +0000)]
.
Jim Meyering [Tue, 10 Feb 2004 09:54:25 +0000 (09:54 +0000)]
.
Jim Meyering [Tue, 10 Feb 2004 08:34:44 +0000 (08:34 +0000)]
.
Jim Meyering [Tue, 10 Feb 2004 08:17:47 +0000 (08:17 +0000)]
*** empty log message ***
Jim Meyering [Tue, 10 Feb 2004 08:17:33 +0000 (08:17 +0000)]
(dist-hook): New target, to ensure that config/install-sh
is executable. Otherwise, on systems that lack a suitable install
binary, `make install' would fail, because of the way this script
is invoked (without `$SHELL ' prefix).
Jim Meyering [Tue, 10 Feb 2004 07:54:16 +0000 (07:54 +0000)]
*** empty log message ***
Jim Meyering [Mon, 9 Feb 2004 17:41:16 +0000 (17:41 +0000)]
Hyphenate `three-column' when used as an adjective.
Jim Meyering [Sun, 8 Feb 2004 15:42:07 +0000 (15:42 +0000)]
.
Jim Meyering [Sun, 8 Feb 2004 10:01:30 +0000 (10:01 +0000)]
.
Jim Meyering [Sun, 8 Feb 2004 10:00:58 +0000 (10:00 +0000)]
*** empty log message ***
Jim Meyering [Sun, 8 Feb 2004 10:00:38 +0000 (10:00 +0000)]
Avoid triggering a bug in OSF/Tru64's sed
that would cause an unwarranted test failure.
Jim Meyering [Sat, 7 Feb 2004 20:41:30 +0000 (20:41 +0000)]
*** empty log message ***
Jim Meyering [Sat, 7 Feb 2004 16:01:58 +0000 (16:01 +0000)]
*** empty log message ***
Jim Meyering [Sat, 7 Feb 2004 16:01:39 +0000 (16:01 +0000)]
(cp_option_init): Don't initialize xstat member.
Jim Meyering [Sat, 7 Feb 2004 16:01:31 +0000 (16:01 +0000)]
(cp_option_init): Likewise.
Jim Meyering [Sat, 7 Feb 2004 16:01:20 +0000 (16:01 +0000)]
(re_protect): Use `XSTAT (x, ...)' in place of `*(x->xstat) (...)'.
(do_copy): Declare/use local xstat rather than x->xstat.
(main): Remove code that set x.xstat.
Jim Meyering [Sat, 7 Feb 2004 16:01:02 +0000 (16:01 +0000)]
Remove xstat function pointer member. The way it was used was not
portable, since some systems (OSF V5.1, Solaris 2.5.1) provide static
inline `stat' and `lstat' functions, thus making the tests of
`xstat == lstat' in copy.c always fail.
(struct cp_options) [xstat]: Remove member.
(XSTAT): New macro.
Jim Meyering [Sat, 7 Feb 2004 16:00:28 +0000 (16:00 +0000)]
Remove xstat function pointer member. The way it was used was not
portable, since some systems (OSF V5.1, Solaris 2.5.1) provide static
inline `stat' and `lstat' functions, thus making the tests of
`xstat == lstat' in copy.c always fail.
(copy_dir): Set `.dereference' member, not .xstat.
(copy_internal): Use `XSTAT (x, ...)' in place of `*(x->xstat) (...)'.
Use `x->dereference == DEREF_NEVER' in place of `x->xstat == lstat'.
(valid_options): Remove now-obsolete FIXME comments.
Jim Meyering [Sat, 7 Feb 2004 15:32:55 +0000 (15:32 +0000)]
.
Jim Meyering [Sat, 7 Feb 2004 14:04:23 +0000 (14:04 +0000)]
.
Jim Meyering [Sat, 7 Feb 2004 13:49:13 +0000 (13:49 +0000)]
.
Jim Meyering [Sat, 7 Feb 2004 13:49:03 +0000 (13:49 +0000)]
(gnu_ftp_host-alpha, etc.): Un-factor .gnu.org suffix,
so that emit_upload_commands can use these variables, too.
Jim Meyering [Sat, 7 Feb 2004 13:47:41 +0000 (13:47 +0000)]
(emit_upload_commands): new target
(alpha beta major): `$(MAKE)' it.
Jim Meyering [Sat, 7 Feb 2004 12:04:24 +0000 (12:04 +0000)]
.
Jim Meyering [Sat, 7 Feb 2004 11:47:01 +0000 (11:47 +0000)]
.
Jim Meyering [Sat, 7 Feb 2004 11:46:00 +0000 (11:46 +0000)]
add missing quote
Jim Meyering [Sat, 7 Feb 2004 10:05:30 +0000 (10:05 +0000)]
.