Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the chgrp and hardlinks tests by running $RSYNC instead of relying on the
[rsync/rsync.git]
/
receiver.c
diff --git
a/receiver.c
b/receiver.c
index
1428233
..
a4a3383
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-429,6
+429,7
@@
int recv_files(int f_in,struct file_list *flist,char *local_name,int f_gen)
rprintf(FERROR,"mkstemp %s failed: %s\n",fnametmp,strerror(errno));
receive_data(f_in,buf,-1,NULL,file->length);
if (buf) unmap_file(buf);
+ if (fd1 != -1) close(fd1);
continue;
}