]> git.ipfire.org Git - thirdparty/coreutils.git/commit
* src/copy.c (copy_reg): Rewrite slightly to avoid duplicte code
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Oct 2006 05:22:54 +0000 (05:22 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Oct 2006 05:22:54 +0000 (05:22 +0000)
commit86823158eb72dd472499cba2fb2e947f69afae72
tree378fbc64d921b31c7b522d82cdeade697db0560b
parent81afea011033c0389ff03cfd4cc968f0b0cefaf0
* 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.
ChangeLog
src/copy.c