projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7e5bc2
)
(copy_reg): Copy regular files in binary mode.
author
Jim Meyering
<jim@meyering.net>
Tue, 15 Mar 2005 15:39:40 +0000
(15:39 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 15 Mar 2005 15:39:40 +0000
(15:39 +0000)
src/copy.c
patch
|
blob
|
history
diff --git
a/src/copy.c
b/src/copy.c
index 88df1d4b366b56cd5943d117334d00c50fc8101f..d9f497e9ca9c995cbaf65f5180f54fe91654ea16 100644
(file)
--- a/
src/copy.c
+++ b/
src/copy.c
@@
-273,6
+273,7
@@
copy_reg (const char *src_path, const char *dst_path,
return_val = false;
goto close_src_desc;
}
+ SET_BINARY2 (source_desc, dest_desc);
/* Determine the optimal buffer size. */