Jim Meyering [Fri, 12 Mar 2004 19:19:50 +0000 (19:19 +0000)]
.
Jim Meyering [Fri, 12 Mar 2004 19:04:31 +0000 (19:04 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 19:03:46 +0000 (19:03 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 19:03:07 +0000 (19:03 +0000)]
Exit 77 (not 1) if we can't set up for the test.
This was triggered on a Linux-2.2.19 system using a file system
NFS-mounted from some sort of Sun.
Jim Meyering [Fri, 12 Mar 2004 16:00:59 +0000 (16:00 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 16:00:41 +0000 (16:00 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 15:59:20 +0000 (15:59 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 14:07:14 +0000 (14:07 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 14:06:44 +0000 (14:06 +0000)]
Sync with autoconf.
Jim Meyering [Fri, 12 Mar 2004 13:59:39 +0000 (13:59 +0000)]
.
Jim Meyering [Fri, 12 Mar 2004 13:55:52 +0000 (13:55 +0000)]
.
Jim Meyering [Fri, 12 Mar 2004 13:55:28 +0000 (13:55 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 12:04:57 +0000 (12:04 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 12:04:15 +0000 (12:04 +0000)]
(TESTS): Add part-hardlink.
Jim Meyering [Fri, 12 Mar 2004 12:04:02 +0000 (12:04 +0000)]
# Before coreutils-5.2.1, this test would fail.
Jim Meyering [Fri, 12 Mar 2004 11:53:57 +0000 (11:53 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Mar 2004 11:53:46 +0000 (11:53 +0000)]
(src_to_dest_lookup): Add prototype.
Jim Meyering [Fri, 12 Mar 2004 11:53:29 +0000 (11:53 +0000)]
(src_to_dest_lookup): New function.
Jim Meyering [Fri, 12 Mar 2004 11:53:18 +0000 (11:53 +0000)]
Sometimes, when source and destination partition are different,
mv mistakenly fails to preserve a hard link. Reported by IIDA Yosiaki.
When moving a set of N hard-linked files between
partitions, via two or more command line arguments where the
command line argument containing the Nth link contains no other
link to that same file, mv would mistakenly copy the file, rather
than hard-linking it to the other(s). That happens because when the
final link is processed, its link count has been reduced to 1 since
the other links have been `copied' to the destination partition
and the source links have been removed.
(copy_internal): When in move mode, use the source dev/inode
pair to look up destination name even when st_nlink == 1.
Jim Meyering [Thu, 11 Mar 2004 18:58:29 +0000 (18:58 +0000)]
.
Jim Meyering [Thu, 11 Mar 2004 09:25:53 +0000 (09:25 +0000)]
.
Jim Meyering [Thu, 11 Mar 2004 09:25:40 +0000 (09:25 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 18:06:04 +0000 (18:06 +0000)]
Also convert sizes in the 70-79 kB range,
so that this test works with SELinux-enable systems.
Based on a patch from Tim Waugh.
Jim Meyering [Wed, 10 Mar 2004 18:05:56 +0000 (18:05 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 17:57:00 +0000 (17:57 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 17:53:57 +0000 (17:53 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 17:53:50 +0000 (17:53 +0000)]
(Sorting the output): Remove description of
ls's --sort=directory option. ls doesn't accept that option, yet.
Jim Meyering [Wed, 10 Mar 2004 17:53:00 +0000 (17:53 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 17:40:00 +0000 (17:40 +0000)]
.
Jim Meyering [Wed, 10 Mar 2004 17:39:40 +0000 (17:39 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 17:39:34 +0000 (17:39 +0000)]
(invalid-j): New partial test for the above fix.
Jim Meyering [Wed, 10 Mar 2004 10:44:35 +0000 (10:44 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 10:44:31 +0000 (10:44 +0000)]
`join -1 x' would give a misleading diagnostic
(string_to_join_field): Report that a non-numeric field
number is invalid, rather than `so large that it is not representable'.
Jim Meyering [Wed, 10 Mar 2004 10:08:21 +0000 (10:08 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 09:57:29 +0000 (09:57 +0000)]
.
Jim Meyering [Wed, 10 Mar 2004 09:51:30 +0000 (09:51 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 09:51:26 +0000 (09:51 +0000)]
(cp invocation): Improve description of cp's --sparse=WHEN option.
Jim Meyering [Wed, 10 Mar 2004 06:51:09 +0000 (06:51 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Mar 2004 06:50:59 +0000 (06:50 +0000)]
(nl invocation): Specify that these are _basic_
regular expressions (BRE), and add a link to grep's documentation.
Jim Meyering [Mon, 8 Mar 2004 15:06:25 +0000 (15:06 +0000)]
.
Jim Meyering [Mon, 8 Mar 2004 09:56:48 +0000 (09:56 +0000)]
regenerate
Jim Meyering [Mon, 8 Mar 2004 09:54:31 +0000 (09:54 +0000)]
*** empty log message ***
Jim Meyering [Mon, 8 Mar 2004 09:54:28 +0000 (09:54 +0000)]
(Makefile.am): Don't use $<, as it doesn't work with Solaris make.
Jim Meyering [Mon, 8 Mar 2004 09:50:52 +0000 (09:50 +0000)]
*** empty log message ***
Jim Meyering [Mon, 8 Mar 2004 09:44:15 +0000 (09:44 +0000)]
*** empty log message ***
Jim Meyering [Mon, 8 Mar 2004 09:43:56 +0000 (09:43 +0000)]
*** empty log message ***
Jim Meyering [Sun, 7 Mar 2004 23:25:01 +0000 (23:25 +0000)]
*** empty log message ***
Jim Meyering [Sat, 6 Mar 2004 17:41:00 +0000 (17:41 +0000)]
*** empty log message ***
Jim Meyering [Sat, 6 Mar 2004 17:40:56 +0000 (17:40 +0000)]
cp --sparse=always sparse-image-file.img /dev/hda1 could
produce an invalid copy on the destination device.
(copy_reg): Even with --sparse=always, try to
make `holes' only if the destination is a regular file.
Reported by Szakacsits Szabolcs.
Jim Meyering [Sat, 6 Mar 2004 14:45:50 +0000 (14:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 6 Mar 2004 08:14:34 +0000 (08:14 +0000)]
*** empty log message ***
Jim Meyering [Fri, 5 Mar 2004 16:57:43 +0000 (16:57 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 22:01:16 +0000 (22:01 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 13:22:17 +0000 (13:22 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 13:14:11 +0000 (13:14 +0000)]
.
Jim Meyering [Thu, 4 Mar 2004 13:13:51 +0000 (13:13 +0000)]
*** empty log message ***
Jim Meyering [Thu, 4 Mar 2004 13:13:43 +0000 (13:13 +0000)]
(getloadavg): Use `true', not `1'.
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 ***