From: Eli Zaretskii Date: Sat, 21 Dec 2019 18:18:05 +0000 (+0200) Subject: ;* src/process.c (read_process_output): Fix last change. X-Git-Tag: emacs-27.0.90~323 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=59ce7609cb383893ac55921589051993c388c6cc;p=emacs.git ;* src/process.c (read_process_output): Fix last change. --- 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) if (nbytes <= 0) { if (nbytes < 0 || coding->mode & CODING_MODE_LAST_BLOCK) - return SAFE_FREE_UNBIND_TO (count, nbytes); + { + SAFE_FREE_UNBIND_TO (count, Qnil); + return nbytes; + } coding->mode |= CODING_MODE_LAST_BLOCK; }