(copy_reg): Copy regular files in binary mode.

This commit is contained in:
Jim Meyering committed 2005-03-15 15:39:40 +00:00
1 parent f7e5bc2908
commit d583b1ce69
1 file changed
+1
+1
View File
@@ -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. */