Commit da1fbed
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 <peff@peff.net>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 657ab61 commit da1fbed
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3865 | 3865 | | |
3866 | 3866 | | |
3867 | 3867 | | |
| 3868 | + | |
3868 | 3869 | | |
3869 | 3870 | | |
3870 | 3871 | | |
| |||
3875 | 3876 | | |
3876 | 3877 | | |
3877 | 3878 | | |
3878 | | - | |
3879 | | - | |
3880 | | - | |
3881 | | - | |
3882 | | - | |
| 3879 | + | |
3883 | 3880 | | |
3884 | | - | |
3885 | 3881 | | |
3886 | 3882 | | |
| 3883 | + | |
| 3884 | + | |
| 3885 | + | |
3887 | 3886 | | |
| 3887 | + | |
| 3888 | + | |
| 3889 | + | |
| 3890 | + | |
| 3891 | + | |
| 3892 | + | |
3888 | 3893 | | |
3889 | 3894 | | |
3890 | 3895 | | |
| |||
0 commit comments