diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/process.c b/src/process.c index c91ab2c24fc..1394b6b8b3c 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3009,11 +3009,12 @@ read_process_output (proc, channel) | |||
| 3009 | XSETINT (p->decoding_carryover, carryover); | 3009 | XSETINT (p->decoding_carryover, carryover); |
| 3010 | nbytes = STRING_BYTES (XSTRING (text)); | 3010 | nbytes = STRING_BYTES (XSTRING (text)); |
| 3011 | nchars = XSTRING (text)->size; | 3011 | nchars = XSTRING (text)->size; |
| 3012 | internal_condition_case_1 (read_process_output_call, | 3012 | if (nbytes > 0) |
| 3013 | Fcons (outstream, | 3013 | internal_condition_case_1 (read_process_output_call, |
| 3014 | Fcons (proc, Fcons (text, Qnil))), | 3014 | Fcons (outstream, |
| 3015 | !NILP (Vdebug_on_error) ? Qnil : Qerror, | 3015 | Fcons (proc, Fcons (text, Qnil))), |
| 3016 | read_process_output_error_handler); | 3016 | !NILP (Vdebug_on_error) ? Qnil : Qerror, |
| 3017 | read_process_output_error_handler); | ||
| 3017 | 3018 | ||
| 3018 | /* If we saved the match data nonrecursively, restore it now. */ | 3019 | /* If we saved the match data nonrecursively, restore it now. */ |
| 3019 | restore_match_data (); | 3020 | restore_match_data (); |