]> git.eshelyaron.com Git - emacs.git/commitdiff
;* src/process.c (read_process_output): Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Sat, 21 Dec 2019 18:18:05 +0000 (20:18 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 21 Dec 2019 18:18:05 +0000 (20:18 +0200)
src/process.c

index d6a0b30f7cbb6e5c2fb1d17508c43a9249c52564..35f6e3b548f1b998f46ae5f745ab8f254a25c5c3 100644 (file)
@@ -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;
     }