]> git.eshelyaron.com Git - emacs.git/commitdiff
(readchar): Check QUIT when `getc' is interrupted.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 25 Nov 2004 20:01:18 +0000 (20:01 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 25 Nov 2004 20:01:18 +0000 (20:01 +0000)
src/lread.c

index 47512fd31973c90114bbeea7771ae41b503bf534..0834261876671c6331870ff2d6a56f4a7776a818 100644 (file)
@@ -1,6 +1,6 @@
 /* Lisp parsing and input streams.
-   Copyright (C) 1985,86,87,88,89,93,94,95,97,98,99,2000,01,03,2004
-      Free Software Foundation, Inc.
+   Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 1997, 1998,
+     1999, 2000, 2001, 2003, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -322,6 +322,7 @@ readchar (readcharfun)
       /* Interrupted reads have been observed while reading over the network */
       while (c == EOF && ferror (instream) && errno == EINTR)
        {
+         QUIT;
          clearerr (instream);
          c = getc (instream);
        }