diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-10-19 05:22:54 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-10-19 05:22:54 +0000 |
commit | 86823158eb72dd472499cba2fb2e947f69afae72 (patch) | |
tree | 378fbc64d921b31c7b522d82cdeade697db0560b /ChangeLog | |
parent | 81afea011033c0389ff03cfd4cc968f0b0cefaf0 (diff) | |
download | coreutils-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-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |