]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
a larger buffer for copy_file()
authorAndrew Tridgell <tridge@samba.org>
Mon, 1 Apr 2002 07:01:31 +0000 (09:01 +0200)
committerAndrew Tridgell <tridge@samba.org>
Mon, 1 Apr 2002 07:01:31 +0000 (09:01 +0200)
util.c

diff --git a/util.c b/util.c
index 205e29290864c7925519267b5f09a0c725a5b1d1..a2131e1d64f0109d008334d2f6fbfe28fac36c1b 100644 (file)
--- a/util.c
+++ b/util.c
@@ -47,7 +47,7 @@ void fatal(const char *msg)
 /* copy all data from one file descriptor to another */
 void copy_fd(int fd_in, int fd_out)
 {
-       char buf[1024];
+       char buf[10240];
        int n;
 
        while ((n = read(fd_in, buf, sizeof(buf))) > 0) {