summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-10-19 05:22:54 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-10-19 05:22:54 +0000
commit86823158eb72dd472499cba2fb2e947f69afae72 (patch)
tree378fbc64d921b31c7b522d82cdeade697db0560b /ChangeLog
parent81afea011033c0389ff03cfd4cc968f0b0cefaf0 (diff)
downloadcoreutils-86823158eb72dd472499cba2fb2e947f69afae72.tar.xz
* src/copy.c (copy_reg): Rewrite slightly to avoid duplicte code
when opening dst_name. (copy_reg, copy_internal): Use (SYSCALL != 0) rather than plain (SYSCALL) to test for failure in a system call.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 86e7d849b..2141be066 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-10-18 Paul Eggert <eggert@cs.ucla.edu>
+ * src/copy.c (copy_reg): Rewrite slightly to avoid duplicte code
+ when opening dst_name.
+ (copy_reg, copy_internal): Use (SYSCALL != 0) rather than plain
+ (SYSCALL) to test for failure in a system call.
+
* src/copy.c (copy_internal): Use mknod rather than mkfifo to copy
a fifo. This preserves the special mode bits on Solaris 10, which
is compatible with what Solaris 10 cp -R does.