diff options
| author | Eli Zaretskii | 2019-12-21 20:18:05 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2019-12-21 20:18:05 +0200 |
| commit | 59ce7609cb383893ac55921589051993c388c6cc (patch) | |
| tree | 6efd30f5a06d8ff3a115fdf78ed75f7048ceb4ef /src/process.c | |
| parent | 9b7f3b0f5774d994311af84d86465c77f00791e5 (diff) | |
| download | emacs-59ce7609cb383893ac55921589051993c388c6cc.tar.gz emacs-59ce7609cb383893ac55921589051993c388c6cc.zip | |
;* src/process.c (read_process_output): Fix last change.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index d6a0b30f7cb..35f6e3b548f 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -6095,7 +6095,10 @@ read_process_output (Lisp_Object proc, int channel) | |||
| 6095 | if (nbytes <= 0) | 6095 | if (nbytes <= 0) |
| 6096 | { | 6096 | { |
| 6097 | if (nbytes < 0 || coding->mode & CODING_MODE_LAST_BLOCK) | 6097 | if (nbytes < 0 || coding->mode & CODING_MODE_LAST_BLOCK) |
| 6098 | return SAFE_FREE_UNBIND_TO (count, nbytes); | 6098 | { |
| 6099 | SAFE_FREE_UNBIND_TO (count, Qnil); | ||
| 6100 | return nbytes; | ||
| 6101 | } | ||
| 6099 | coding->mode |= CODING_MODE_LAST_BLOCK; | 6102 | coding->mode |= CODING_MODE_LAST_BLOCK; |
| 6100 | } | 6103 | } |
| 6101 | 6104 | ||