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
Jim Meyering
f657d65570
update from automake-1.2
SH-UTILS-1_16a
1997-06-25 17:05:56 +00:00
Jim Meyering
9bcfe15afe
.
1997-06-25 17:01:22 +00:00
Jim Meyering
4378dcecdf
.
1997-06-25 16:08:03 +00:00
Jim Meyering
fa4894b30c
.
1997-06-25 15:38:35 +00:00
Jim Meyering
6700c89ac7
Use variable width columns when printing in multi-column mode.
...
(init_col_info): New function.
(print_current_files): Call init_col_info if format is
`many_per_line' or `horizontal'.
(print_many_per_line): Calculate optimum column widths.
(print_horizontal): Likewise.
From Ulrich Drepper.
1997-06-22 19:52:24 +00:00
Jim Meyering
d18dc59619
*** empty log message ***
1997-06-22 04:04:07 +00:00
Jim Meyering
973f13ccb2
.
1997-06-22 04:01:43 +00:00
Jim Meyering
e148f6d293
.
1997-06-22 03:51:36 +00:00
Jim Meyering
3841b591c1
.
1997-06-22 03:50:14 +00:00
Jim Meyering
e8b0678fed
.
1997-06-22 03:49:51 +00:00
Jim Meyering
08f074fb34
*** empty log message ***
1997-06-22 03:38:08 +00:00
Jim Meyering
2f91f08a79
.
1997-06-22 03:32:37 +00:00
Jim Meyering
9bf8c1c229
.
1997-06-16 18:02:08 +00:00
Jim Meyering
504b9fe47a
.
1997-06-16 18:01:32 +00:00
Jim Meyering
57f7889059
comment
1997-06-16 17:50:23 +00:00
Jim Meyering
8b4d49fc79
.
1997-06-16 17:42:33 +00:00
Jim Meyering
a6526f2171
(eval6): Accept new unary operator, quote.
...
From Karl Heuer.
1997-06-16 17:01:24 +00:00
Jim Meyering
bfc9115ee5
*** empty log message ***
1997-06-16 16:58:28 +00:00
Jim Meyering
5e3188fba4
.
1997-06-16 16:57:55 +00:00
Jim Meyering
57c0f5cfff
(EXTRA_DIST): Add putenv.m4.
1997-06-16 16:57:02 +00:00
Jim Meyering
19342feca7
.
1997-06-16 16:45:15 +00:00
Jim Meyering
7b097c0e37
add copyright
1997-06-16 16:15:30 +00:00
Jim Meyering
952a76e506
tweak error message
1997-06-16 16:12:04 +00:00
Jim Meyering
0dcca900cc
(full_write): Add comment regarding failure due to bug in
...
Linux Slackware 1.2.13 kernel.
1997-06-15 15:06:52 +00:00
Jim Meyering
ab029fd3e5
.
1997-06-15 13:35:02 +00:00
Jim Meyering
acdc74dbf5
Rewrite using save-cwd.c and chdir to remove quadratic component of complexity.
...
Before, it processed O(n^2) directory name components via stat and mkdir.
Now it's O(n). This makes mkdir -p a lot more efficient when creating
directories with very many components. On a Linux 2.0.30 ext2fs filesystem
this command: mkdir -p `perl -e 'print "a/" x 500'` now runs in 0.77 seconds
(user+sys). Contrast that with the 9.5(!) seconds it took before.
1997-06-15 13:34:47 +00:00
Jim Meyering
1830d29be9
Add test that -o 0 works.
1997-06-15 11:47:46 +00:00
Jim Meyering
3b4748d124
*** empty log message ***
1997-06-15 11:42:55 +00:00
Jim Meyering
50e65a424c
(init_header) [T_BUF_FMT]: Output the 4-digit year (not the
...
2-digit abbreviation) in each page header. Reported by Noah Friedman.
1997-06-15 11:40:47 +00:00
Jim Meyering
aca4091fae
*** empty log message ***
1997-06-14 19:33:13 +00:00
Jim Meyering
2add756624
*** empty log message ***
1997-06-14 17:32:00 +00:00