Jim Meyering
f014f4f60f
*** empty log message ***
1997-07-04 19:12:34 +00:00
Jim Meyering
581b1540f5
Redirect output of cmp to /dev/null.
1997-07-04 19:12:25 +00:00
Jim Meyering
a7da25a2bb
*** empty log message ***
1997-07-04 19:05:12 +00:00
Jim Meyering
14608042dd
.
1997-07-04 19:01:55 +00:00
Jim Meyering
f8bedd0047
.
1997-07-04 15:02:30 +00:00
Jim Meyering
4d8f9c4929
regenerate with updated ../Makefile.am.in
1997-07-04 15:02:06 +00:00
Jim Meyering
1e80216861
regenerate with updated mk-script
1997-07-04 15:01:57 +00:00
Jim Meyering
b541bff3de
.
1997-07-04 15:01:06 +00:00
Jim Meyering
bea4748f5c
regenerate with updated mk-script
1997-07-04 14:43:55 +00:00
Jim Meyering
19d151cbbd
regenerate with updated ../Makefile.am.in
1997-07-04 14:43:06 +00:00
Jim Meyering
d61ab3fc24
.
1997-07-04 14:42:16 +00:00
Jim Meyering
70cfca742f
*** empty log message ***
1997-07-04 08:20:55 +00:00
Jim Meyering
677ddac432
(validate): Create test files in $(srcdir), not in build dir.
1997-07-04 08:09:15 +00:00
Jim Meyering
93b02c5289
*** empty log message ***
1997-07-04 07:53:28 +00:00
Jim Meyering
22ff29fe3e
(apply_attributes): New function.
...
(copy_reg): Use apply_attributes instead of open-coding the pieces.
Now, failure to preserve file attributes does not cause mv to change
its exit status, and such failures elicit warning diagnostics. This
behavior is required by POSIX. Before, failure to preserve ownership
due to insufficient access was diagnosed only for root.
Prompted by a report from Bengt Martensson.
1997-07-03 12:16:41 +00:00
Jim Meyering
ab171ee6b5
*** empty log message ***
1997-07-03 12:13:31 +00:00
Jim Meyering
c86d0a7a45
*** empty log message ***
1997-07-03 10:29:48 +00:00
Jim Meyering
4396edc12e
(test_vector): Remove bogus TZ=GMT environment setting.
1997-07-03 10:28:51 +00:00
Jim Meyering
442d670b3a
.
1997-07-02 16:09:39 +00:00
Jim Meyering
7a280a0fda
(STRTOX): Convert function header in macro definition
...
to K&R-style. Otherwise, ansi2knr would fail to convert the function
definitions to K&R for old style compilers. From Kaveh Ghazi.
1997-07-02 16:07:44 +00:00
Jim Meyering
df05506016
*** empty log message ***
1997-07-01 11:55:55 +00:00
Jim Meyering
b3580d0a75
.
1997-07-01 11:50:44 +00:00
Jim Meyering
2499628bff
(make_path): Reorder stat-then-mkdir-if-missing
...
calls so that mkdir is called first. Before make_path would first
`stat' a directory, then call mkdir if it didn't exist. But if
some other process created the directory between the stat & mkdir,
the mkdir would fail with EEXIST. Diagnosis and suggestion from
Greg McGary.
1997-07-01 11:50:39 +00:00
Jim Meyering
b5e0f033a6
*** empty log message ***
1997-07-01 11:50:08 +00:00
Jim Meyering
059ccb6ac7
[putenv]: Undefine before including system headers.
...
Otherwise, the declaration of *rpl_putenv* conflicts with the system
prototype on at least Irix5.3. From Marcus Daniels.
1997-07-01 11:30:08 +00:00
Jim Meyering
5f14bb768e
*** empty log message ***
1997-06-30 04:00:48 +00:00
Jim Meyering
7f490dad0e
.
SH-UTILS-1_16b
1997-06-30 03:53:28 +00:00
Jim Meyering
3e81211212
.
1997-06-30 01:58:23 +00:00
Jim Meyering
3f0b15ac80
*** empty log message ***
1997-06-29 22:26:54 +00:00
Jim Meyering
41faa55aed
(base_name_strip_trailing_slashes): Remove.
1997-06-29 22:26:18 +00:00
Jim Meyering
04c0cd59a5
(base_name_strip_trailing_slashes): new function.
1997-06-29 22:25:54 +00:00
Jim Meyering
6ad0d51107
(copy): Add FIXME comment.
1997-06-29 22:24:26 +00:00
Jim Meyering
bc8c5033e3
*** empty log message ***
1997-06-29 22:21:51 +00:00
Jim Meyering
dc404c4107
(copy_reg): New parameter, SOURCE_STATS.
...
(do_move): Update caller.
(movefile): Take new boolean parameter, DEST_IS_DIR,
to save a stat per moved file when the destination is a directory.
(main): Call movefile with additional argument.
(strip_trailing_slashes_2): New function.
(movefile): Remove trailing slashes from dest. Otherwise, stat ("b/")
fails with ENOTDIR on systems including Linux w/libc 2.0.30.
Reproduce with `rm -rf a b; mkdir a; touch b; ./mv a b/'.
(do_move): Fix misleading comment.
1997-06-29 22:21:42 +00:00
Jim Meyering
e44678aac2
*** empty log message ***
1997-06-29 21:24:26 +00:00
Jim Meyering
42a63be148
*** empty log message ***
1997-06-29 21:13:33 +00:00
Jim Meyering
1226259896
Remove _sys_putenv cruft and just rename the function itself.
1997-06-29 21:05:05 +00:00
Jim Meyering
cabc10b909
*** empty log message ***
1997-06-29 20:26:38 +00:00
Jim Meyering
90e9fd9c77
.
1997-06-29 20:24:27 +00:00
Jim Meyering
0935e2ce3f
*** empty log message ***
1997-06-29 20:21:38 +00:00
Jim Meyering
611cf8e97b
*** empty log message ***
1997-06-29 20:19:45 +00:00
Jim Meyering
3d9239c750
fix it right
1997-06-29 20:18:58 +00:00
Jim Meyering
551c02f7b6
Define-away putenv only if it's not already defined.
1997-06-29 20:12:52 +00:00
Jim Meyering
90c131fa21
.
1997-06-29 13:52:16 +00:00
Jim Meyering
a6b6c95b83
*** empty log message ***
1997-06-29 13:50:57 +00:00
Jim Meyering
25c1d1dccd
*** empty log message ***
1997-06-29 13:49:53 +00:00
Jim Meyering
d9741142c8
.
1997-06-29 13:34:51 +00:00
Jim Meyering
a84d2bada4
Set and export LANGUAGE, LC_ALL, and LANG
...
so tests get english strings. From Ulrich Drepper.
1997-06-29 12:19:43 +00:00
Jim Meyering
9654920c40
.
1997-06-29 03:27:24 +00:00
Jim Meyering
a13135d09e
Move the OPENOPTS def from end to beginning of else clause so it's closer
...
to the one in the then clause.
1997-06-29 01:56:36 +00:00