author | Sam Ravnborg <sam@ravnborg.org> | |
Tue, 27 Dec 2005 08:19:05 +0000 (09:19 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 27 Dec 2005 18:49:25 +0000 (10:49 -0800) | ||
commit | 08337a97a2756cd89ab611444f37d67250d3c05b | |
tree | fbcd5fe3b151c0b1412903550b44904b62defb34 | tree | snapshot |
parent | 975b31dc6e12fba8f7b067ddbe32230995e05400 | commit | diff |
copy_fd: close ifd on error
In copy_fd when write fails we ought to close input file descriptor.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
In copy_fd when write fails we ought to close input file descriptor.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
copy.c | diff | blob | history |