summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-13 13:03:13 +0000
committerJim Meyering <jim@meyering.net>2000-08-13 13:03:13 +0000
commit27289e8b537620ba0b2abb6f3f4d71d2c24bc6a9 (patch)
tree95d7529be14fe6f1dd38a6f4aa514208b43b527d
parent8656b00f6d42dc6a589cf51a750c7ae0e747d68e (diff)
downloadcoreutils-27289e8b537620ba0b2abb6f3f4d71d2c24bc6a9.tar.xz
*** empty log message ***
-rw-r--r--old/fileutils/ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog
index 8b7e51a2d..309e84d6c 100644
--- a/old/fileutils/ChangeLog
+++ b/old/fileutils/ChangeLog
@@ -1,3 +1,17 @@
+2000-08-13 Jim Meyering <meyering@lucent.com>
+
+ * src/copy.c (get_dest_mode): Rename from new_nondir_mode.
+ Honor the umask for `cp', but not for `mv' or `cp -p'.
+ (copy_reg): New 4th parameter, dst_mode. Pass it as 3rd arg. to open.
+ (copy_internal): Change type of locals `src_mode' and `src_type' from
+ int to mode_t.
+ Remove unnecessary local `fix_mode'.
+ Combine two if-stmts into one.
+ Pass `src_mode' as 4th arg to copy_reg.
+ If we've just created a new regular file, return early, skipping the
+ chmod step. copy_reg now sets permissions of such files upon creation.
+ Use get_dest_mode, so there's just one chmod call here.
+
2000-08-12 Jim Meyering <meyering@lucent.com>
* tests/mv/into-self-2: Remove test for the VERSION_CONTROL and/or