author | Jim Meyering <jim@meyering.net> | |
Sun, 24 Jun 2007 19:20:41 +0000 (21:20 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 27 Jun 2007 04:48:53 +0000 (21:48 -0700) | ||
commit | 91c8d5905c33e9d7c9014a1c6c7cec8eb86584df | |
tree | c3dbbc16aa7df268aae8962bc4cac367fc5c51ca | tree | snapshot |
parent | 2275d502114c71045af991697048191fed88aac4 | commit | diff |
detect close failure on just-written file handles
I audited git for potential undetected write failures.
In the cases fixed below, the diagnostics I add mimic the diagnostics
used in surrounding code, even when that means not reporting
the precise strerror(errno) cause of the error.
Signed-off-by: Jim Meyering <jim@meyering.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
I audited git for potential undetected write failures.
In the cases fixed below, the diagnostics I add mimic the diagnostics
used in surrounding code, even when that means not reporting
the precise strerror(errno) cause of the error.
Signed-off-by: Jim Meyering <jim@meyering.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-init-db.c | diff | blob | history | |
builtin-rerere.c | diff | blob | history | |
index-pack.c | diff | blob | history | |
refs.c | diff | blob | history |