From: Jim Meyering Date: Tue, 15 Mar 2005 15:39:40 +0000 (+0000) Subject: (copy_reg): Copy regular files in binary mode. X-Git-Tag: CPPI-1_12~1303 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d583b1ce69c97aee681e5f9b6d6b976148287d31;p=thirdparty%2Fcoreutils.git (copy_reg): Copy regular files in binary mode. --- diff --git a/src/copy.c b/src/copy.c index 88df1d4b36..d9f497e9ca 100644 --- 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. */