Revision da1fbed3fff6ed2d64399ff26d8a9ab3bcf00540 authored by Johannes Sixt on 30 March 2010, 17:36:03 UTC, committed by Junio C Hamano on 30 March 2010, 21:46:33 UTC
To make the code simpler, run_textconv lumps all of its
error checking into one conditional. However, the
short-circuit means that an error in reading will prevent us
from calling finish_command, leaving a zombie child.
Clean up properly after errors.

Based-on-work-by: Jeff King <peff@peff.net>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 657ab61
History
File Mode Size
fnmatch
nedmalloc
regex
vcbuild
win32
basename.c -rw-r--r-- 334 bytes
bswap.h -rw-r--r-- 1.0 KB
cygwin.c -rw-r--r-- 4.8 KB
cygwin.h -rw-r--r-- 275 bytes
fopen.c -rw-r--r-- 931 bytes
hstrerror.c -rw-r--r-- 513 bytes
inet_ntop.c -rw-r--r-- 4.9 KB
inet_pton.c -rw-r--r-- 6.9 KB
memmem.c -rw-r--r-- 752 bytes
mingw.c -rw-r--r-- 36.6 KB
mingw.h -rw-r--r-- 7.8 KB
mkdtemp.c -rw-r--r-- 153 bytes
mmap.c -rw-r--r-- 747 bytes
msvc.c -rw-r--r-- 575 bytes
msvc.h -rw-r--r-- 1.1 KB
pread.c -rw-r--r-- 433 bytes
qsort.c -rw-r--r-- 1.1 KB
setenv.c -rw-r--r-- 786 bytes
snprintf.c -rw-r--r-- 1.4 KB
strcasestr.c -rw-r--r-- 431 bytes
strlcpy.c -rw-r--r-- 247 bytes
strtoumax.c -rw-r--r-- 217 bytes
unsetenv.c -rw-r--r-- 558 bytes
win32.h -rw-r--r-- 872 bytes
win32mmap.c -rw-r--r-- 904 bytes
winansi.c -rw-r--r-- 6.9 KB

back to top