sha1_file.c (write_sha1_file): Detect close failure
commite82973cfb046b4298114368e6d194a3418f2a30c
authorJunio C Hamano <junkio@cox.net>
Tue, 27 Mar 2007 19:55:44 +0000 (27 12:55 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 27 Mar 2007 19:56:01 +0000 (27 12:56 -0700)
tree743354fa542cd06fde86587844b67a5641fe8dd7
parentb704e589f411d51c7240d104d88422aa2d757822
sha1_file.c (write_sha1_file): Detect close failure

This is in the same spirit as earlier fix to write_sha1_from_fd().

Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c