diff: fix textconv error zombies
authorJohannes Sixt <redacted>
Tue, 30 Mar 2010 17:36:03 +0000 (19:36 +0200)
committerJunio C Hamano <redacted>
Tue, 30 Mar 2010 21:46:33 +0000 (14:46 -0700)
commitda1fbed3fff6ed2d64399ff26d8a9ab3bcf00540
treeb810119d3ab515951778b908c1c5ff2c5d47592a
parent657ab61efa918f46f1b412613643d1a1bbed2194
diff: fix textconv error zombies

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 <redacted>
Signed-off-by: Johannes Sixt <redacted>
Signed-off-by: Junio C Hamano <redacted>
diff.c
git clone https://git.99rst.org/PROJECT