changeset 58517:7b179055722a

(readchar): Check QUIT when `getc' is interrupted.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 25 Nov 2004 20:01:18 +0000
parents 3bd95b9c636a
children 1a5509ec45da
files src/lread.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Thu Nov 25 16:48:45 2004 +0000
+++ b/src/lread.c	Thu Nov 25 20:01:18 2004 +0000
@@ -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 @@
       /* Interrupted reads have been observed while reading over the network */
       while (c == EOF && ferror (instream) && errno == EINTR)
 	{
+	  QUIT;
 	  clearerr (instream);
 	  c = getc (instream);
 	}