author | Ariel Badichi <abadichi@bezeqint.net> | |
Wed, 23 Apr 2008 01:05:29 +0000 (04:05 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 23 Apr 2008 04:21:08 +0000 (21:21 -0700) | ||
commit | 8b1f6de854ae95eb3f4225a71aad29ca086cfd2e | |
tree | c1baf44b966272055beebd49045f2c9244ec6a82 | tree | snapshot |
parent | 82881b38235d0a46a4486dc5dc819c5d0ee3f2c1 | commit | diff |
copy.c: copy_fd - correctly report write errors
Previously, the errno could have been lost due to an intervening
close() call.
This patch also contains minor cosmetic changes.
Signed-off-by: Ariel Badichi <abadichi@bezeqint.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previously, the errno could have been lost due to an intervening
close() call.
This patch also contains minor cosmetic changes.
Signed-off-by: Ariel Badichi <abadichi@bezeqint.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
copy.c | diff | blob | history |