changeset 48725:279d729bd941

(Fcopy_file): Set immediate_quit around emacs_open call.
author Richard M. Stallman <rms@gnu.org>
date Sat, 07 Dec 2002 21:39:50 +0000
parents ccd782f27e54
children 8e3eb5de7b47
files src/fileio.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Sat Dec 07 21:39:18 2002 +0000
+++ b/src/fileio.c	Sat Dec 07 21:39:50 2002 +0000
@@ -2429,7 +2429,10 @@
       SetFileAttributes (filename, attributes);
     }
 #else /* not WINDOWSNT */
+  immediate_quit = 1;
   ifd = emacs_open (SDATA (encoded_file), O_RDONLY, 0);
+  immediate_quit = 0;
+
   if (ifd < 0)
     report_file_error ("Opening input file", Fcons (file, Qnil));