Jim Meyering
ec65003050
(src_to_dest_lookup): Add prototype.
2004-03-12 11:53:46 +00:00
Jim Meyering
83f4f1abd9
(src_to_dest_lookup): New function.
2004-03-12 11:53:29 +00:00
Jim Meyering
bcea8e96ea
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.
2004-03-12 11:53:18 +00:00
Jim Meyering
04975d2592
.
2004-03-11 18:58:29 +00:00
Jim Meyering
98ea4dad08
.
2004-03-11 09:25:53 +00:00
Jim Meyering
3e112de5c7
*** empty log message ***
2004-03-11 09:25:40 +00:00
Jim Meyering
f9a3bc012b
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.
2004-03-10 18:06:04 +00:00
Jim Meyering
0814035fb5
*** empty log message ***
2004-03-10 18:05:56 +00:00
Jim Meyering
b601389e04
*** empty log message ***
2004-03-10 17:57:00 +00:00
Jim Meyering
deafc3de5f
*** empty log message ***
2004-03-10 17:53:57 +00:00
Jim Meyering
11a0405450
(Sorting the output): Remove description of
...
ls's --sort=directory option. ls doesn't accept that option, yet.
2004-03-10 17:53:50 +00:00
Jim Meyering
927a52d577
*** empty log message ***
2004-03-10 17:53:00 +00:00
Jim Meyering
8651917856
.
2004-03-10 17:40:00 +00:00
Jim Meyering
bfafc5243e
*** empty log message ***
2004-03-10 17:39:40 +00:00
Jim Meyering
1b9d200986
(invalid-j): New partial test for the above fix.
2004-03-10 17:39:34 +00:00
Jim Meyering
53e04d7ff7
*** empty log message ***
2004-03-10 10:44:35 +00:00
Jim Meyering
aa18f80de6
`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'.
2004-03-10 10:44:31 +00:00
Jim Meyering
97f63d336f
*** empty log message ***
2004-03-10 10:08:21 +00:00
Jim Meyering
ce4f09d642
.
2004-03-10 09:57:29 +00:00
Jim Meyering
33f515c920
*** empty log message ***
2004-03-10 09:51:30 +00:00
Jim Meyering
ebbbe4553a
(cp invocation): Improve description of cp's --sparse=WHEN option.
2004-03-10 09:51:26 +00:00
Jim Meyering
ae6f132503
*** empty log message ***
2004-03-10 06:51:09 +00:00
Jim Meyering
df1dd184d7
(nl invocation): Specify that these are _basic_
...
regular expressions (BRE), and add a link to grep's documentation.
2004-03-10 06:50:59 +00:00
Jim Meyering
2bff52d99f
.
2004-03-08 15:06:25 +00:00
Jim Meyering
be70c79eac
regenerate
2004-03-08 09:56:48 +00:00
Jim Meyering
33fb5d8b7c
*** empty log message ***
2004-03-08 09:54:31 +00:00
Jim Meyering
71c9e6f21f
(Makefile.am): Don't use $<, as it doesn't work with Solaris make.
2004-03-08 09:54:28 +00:00
Jim Meyering
0838de73a4
*** empty log message ***
2004-03-08 09:50:52 +00:00
Jim Meyering
da77829aa0
*** empty log message ***
2004-03-08 09:44:15 +00:00
Jim Meyering
13b32612d2
*** empty log message ***
2004-03-08 09:43:56 +00:00
Jim Meyering
32b2fadde6
*** empty log message ***
2004-03-07 23:25:01 +00:00
Jim Meyering
0c6b3dffc5
*** empty log message ***
2004-03-06 17:41:00 +00:00
Jim Meyering
0ede5ec7f9
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.
2004-03-06 17:40:56 +00:00
Jim Meyering
aad4245695
*** empty log message ***
2004-03-06 14:45:50 +00:00
Jim Meyering
63f2e862ea
*** empty log message ***
2004-03-06 08:14:34 +00:00
Jim Meyering
3fbe31c0ee
*** empty log message ***
2004-03-05 16:57:43 +00:00
Jim Meyering
b6993cf856
*** empty log message ***
2004-03-04 22:01:16 +00:00
Jim Meyering
79f0884054
*** empty log message ***
2004-03-04 13:22:17 +00:00
Jim Meyering
118cee9878
.
2004-03-04 13:14:11 +00:00
Jim Meyering
f7291db3f9
*** empty log message ***
2004-03-04 13:13:51 +00:00
Jim Meyering
e7c9ecd175
(getloadavg): Use true', not 1'.
2004-03-04 13:13:43 +00:00
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