X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=write_or_die.c;h=eab8c8d0b9aab55c8435b9f451efd81e715131f8;hb=12733e9dd39411be4cd6a9a437faa7d86df159c2;hp=073443247a6d56ddd8448aafce854a4b5513e605;hpb=f4db874d9adc3d974a085b1238aad0048e7f2674;p=git-core%2Fgit.git diff --git a/write_or_die.c b/write_or_die.c index 073443247..eab8c8d0b 100644 --- a/write_or_die.c +++ b/write_or_die.c @@ -1,19 +1,6 @@ #include "cache.h" #include "run-command.h" -static void check_pipe(int err) -{ - if (err == EPIPE) { - if (in_async()) - async_exit(141); - - signal(SIGPIPE, SIG_DFL); - raise(SIGPIPE); - /* Should never happen, but just in case... */ - exit(141); - } -} - /* * Some cases use stdio, but want to flush after the write * to get error handling (and to get better interactive