summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-13 13:13:25 +0000
committerJim Meyering <jim@meyering.net>2000-08-13 13:13:25 +0000
commitd927d60b3642dcd471529d679292570671703dd3 (patch)
tree612c340ea5c4654dbf50e2ea99572d30fbd963f8 /src
parentbed2ded78f4c8047256ba6c4da80b1992b840a5d (diff)
downloadcoreutils-d927d60b3642dcd471529d679292570671703dd3.tar.xz
(copy_reg): Add comment.
Diffstat (limited to 'src')
-rw-r--r--src/copy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/copy.c b/src/copy.c
index 59f2b96b7..712f81f67 100644
--- 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. */