Jim Meyering
44ebf255de
*** empty log message ***
2004-03-04 13:08:37 +00:00
Jim Meyering
f5057405b1
(set_cloexec_flag) [ ! (F_GETFD && F_SETFD)]: Return true, not false.
2004-03-04 13:08:29 +00:00
Jim Meyering
f04cf614b0
*** empty log message ***
2004-03-04 08:50:58 +00:00
Jim Meyering
940ffe5e02
(main): Don't invoke set_cloexec_flag with a file descriptor of -1.
2004-03-04 08:50:50 +00:00
Jim Meyering
b8e698744e
*** empty log message ***
2004-03-04 08:50:34 +00:00
Jim Meyering
a07aa7e020
Include <stdbool.h>.
...
Adjust signature to use `bool' rather than `int'.
2004-03-04 08:49:10 +00:00
Jim Meyering
a1c30fd7d1
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.
2004-03-04 08:42:20 +00:00
Jim Meyering
e819dd0dd9
Include "cloexec.h".
...
(getloadavg): Use set_cloexec_flag instead of manual fcntl call.
2004-03-03 22:06:47 +00:00
Jim Meyering
a81ffe3b27
.
2004-03-03 22:06:26 +00:00
Jim Meyering
06a57a878f
*** empty log message ***
2004-03-03 22:06:17 +00:00
Jim Meyering
4ff061cf60
(libfetish_a_SOURCES): Add cloexec.c, cloexec.h.
2004-03-03 22:06:11 +00:00
Jim Meyering
534ec4c800
from Dmitry V. Levin
2004-03-03 22:01:56 +00:00
Jim Meyering
f0970dc4a8
New file.
...
The set_cloexec_flag implementation imported from GNU C Library
Reference Manual.
2004-03-03 22:01:32 +00:00
Jim Meyering
8d0b9f87dd
Include "cloexec.h".
...
(main): Set the copy of stderr to close on exec.
2004-03-03 22:00:20 +00:00
Jim Meyering
2389b81eef
*** empty log message ***
2004-03-03 07:57:45 +00:00
Jim Meyering
3d8b65f73c
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.
2004-03-03 07:57:33 +00:00
Jim Meyering
abea7c171b
.
2004-03-03 07:56:00 +00:00
Jim Meyering
0816297076
*** empty log message ***
2004-03-03 07:54:17 +00:00
Jim Meyering
64233522b4
*** empty log message ***
2004-03-03 07:53:24 +00:00
Jim Meyering
50c485dac0
(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.
2004-03-03 07:52:36 +00:00
Jim Meyering
aa1ba5a545
*** empty log message ***
2004-03-02 23:00:05 +00:00
Jim Meyering
375a8e0232
Run envvar-check in case BLOCK_SIZE etc. are set.
2004-03-02 22:59:47 +00:00
Jim Meyering
293e712a71
Run envvar-check in case BLOCK_SIZE etc. are set.
2004-03-02 22:59:10 +00:00
Jim Meyering
4dd6886e82
.
2004-03-02 22:56:17 +00:00
Jim Meyering
2e75e638ec
*** empty log message ***
2004-03-02 22:49:48 +00:00
Jim Meyering
84b6c29224
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 >.
2004-03-02 22:49:44 +00:00
Jim Meyering
4762889c25
*** empty log message ***
2004-03-02 17:55:08 +00:00
Jim Meyering
4aea3385e4
Add Afrikaans (af)
2004-03-02 17:55:06 +00:00
Jim Meyering
51c4e50555
version: 5.2.0
2004-03-02 17:53:59 +00:00
Jim Meyering
ebb5c898f4
*** empty log message ***
2004-02-23 21:22:40 +00:00
Jim Meyering
0674aab9db
(usage): Remove stray space after \n in --help output.
2004-02-23 21:22:34 +00:00
Jim Meyering
eff39a398d
*** empty log message ***
2004-02-22 21:23:13 +00:00
Jim Meyering
4823b64c29
(usage): Separate -H and --si. Say that the meaning
...
of -H will soon change to that of --dereference-args (-D).
2004-02-22 21:23:06 +00:00
Jim Meyering
b150c508dc
update from savannah
2004-02-22 15:50:32 +00:00
Jim Meyering
a020c544b7
update from savannah
2004-02-22 15:49:29 +00:00
Jim Meyering
4f23a90bf9
tweak wording of last change
2004-02-22 15:44:32 +00:00
Jim Meyering
fde13b7b10
*** empty log message ***
2004-02-22 15:37:54 +00:00
Jim Meyering
fd08f4d726
(du invocation): Mention that using du's -H option currently evokes a warning.
2004-02-22 15:37:50 +00:00
Jim Meyering
19ea51480f
(VERSION): bump to 5.2.1
2004-02-22 14:57:52 +00:00
Jim Meyering
6204946df0
add tests for just-fixed bugs
2004-02-22 14:57:20 +00:00
Jim Meyering
fdb3c26e8e
(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.
2004-02-22 14:56:58 +00:00
Jim Meyering
5c8d1ad4f0
.
2004-02-22 14:56:39 +00:00
Jim Meyering
a937eaac84
*** empty log message ***
2004-02-21 09:31:24 +00:00
Jim Meyering
82025d96f7
(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.
2004-02-21 09:31:11 +00:00
Jim Meyering
75845d6c30
*** empty log message ***
2004-02-21 09:26:56 +00:00
Jim Meyering
30e92dbb2e
*** empty log message ***
2004-02-21 09:21:20 +00:00
Jim Meyering
3fd433e9d3
(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.
2004-02-21 09:21:15 +00:00
Jim Meyering
47c4268b6b
.
2004-02-19 18:22:13 +00:00
Jim Meyering
0b27a447e5
*** empty log message ***
COREUTILS-5_2_0
2004-02-19 18:04:33 +00:00
Jim Meyering
23ec3ebebf
*** empty log message ***
2004-02-18 18:00:17 +00:00