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:
bed2ded
)
(copy_reg): Add comment.
author
Jim Meyering
<jim@meyering.net>
Sun, 13 Aug 2000 13:13:25 +0000
(13:13 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 13 Aug 2000 13:13:25 +0000
(13:13 +0000)
src/copy.c
patch
|
blob
|
history
diff --git
a/src/copy.c
b/src/copy.c
index 59f2b96b7b6ac61c9fbbc4760a236ca29d70b6fb..712f81f677f126fe1da25c1f90311aed9b08dd2d 100644
(file)
--- a/
src/copy.c
+++ b/
src/copy.c
@@
-157,6
+157,7
@@
copy_dir (const char *src_path_in, const char *dst_path_in, int new_dst,
If the source file contains holes, copies holes and blocks of zeros
in the source file as holes in the destination file.
(Holes are read as zeroes by the `read' system call.)
+ Use DST_MODE as the 3rd argument in the call to open.
Return 0 if successful, -1 if an error occurred.
FIXME: describe sparse_mode. */