summaryrefslogtreecommitdiff
path: root/old
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-04-03 12:28:18 +0000
committerJim Meyering <jim@meyering.net>1996-04-03 12:28:18 +0000
commit3583bcd14d6cf73c8b5d098767a42a5ac97d948d (patch)
tree087fbef4ecc5e36223680e23e4e56ed25b4d7c9f /old
parent3191649a85a127d3112ddae1d893346caeec982a (diff)
downloadcoreutils-3583bcd14d6cf73c8b5d098767a42a5ac97d948d.tar.xz
.
Diffstat (limited to 'old')
-rw-r--r--old/fileutils/ChangeLog20
1 files changed, 16 insertions, 4 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog
index da82b8969..1e5403796 100644
--- a/old/fileutils/ChangeLog
+++ b/old/fileutils/ChangeLog
@@ -1,11 +1,23 @@
+Wed Apr 3 06:12:23 1996 Jim Meyering (meyering@na-net.ornl.gov)
+
+ * cp.c (copy_reg): Use `ST_NBLOCKS (sb) * 512', not `sb.st_blocks *
+ DEV_BSIZE.' From H.J. Lu (hjl@lucon.org).
+
+ * mvdir.c: Include save-cwd.h.
+ (fullpath): Rewrite to use save_cwd, xgetcwd, and restore_cwd
+ rather than explicit chdir/getcwd calls.
+
Mon Apr 1 23:50:29 1996 Jim Meyering (meyering@na-net.ornl.gov)
* cp.c: Include assert.h (disabled).
(path_concat): New function.
- (do_copy): Use it instead of open-coding its functionality
- in two places. This has the additional benefit of avoiding
- forming destination names like `D//file' when cp is used
- like this: mkdir D; touch file D/file; cp -i file D/
+ (do_copy): Use path_concat instead of open-coding part of its
+ functionality in two places. This has the additional benefit
+ of avoiding forming destination names like `D//file' when the
+ destination directory D includes a trailing slash -- as would
+ happen when cp is used like this:
+ mkdir D; touch file D/file; cp -i file D/
+ Reported by François Pinard.
Sun Mar 31 11:18:09 1996 Jim Meyering (meyering@na-net.ornl.gov)