diff options
| author | Richard M. Stallman | 2002-12-07 21:39:50 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-12-07 21:39:50 +0000 |
| commit | 133369080ea6aab23749300eda51276a018f0f9d (patch) | |
| tree | 68f5405253200f22218aecbc42e5a8913239779b /src | |
| parent | f58e9f8c1a3b086610ccd86301770d206589e3ac (diff) | |
| download | emacs-133369080ea6aab23749300eda51276a018f0f9d.tar.gz emacs-133369080ea6aab23749300eda51276a018f0f9d.zip | |
(Fcopy_file): Set immediate_quit around emacs_open call.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index 890ef2de371..a8d27f0ef2d 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -2429,7 +2429,10 @@ A prefix arg makes KEEP-TIME non-nil. */) | |||
| 2429 | SetFileAttributes (filename, attributes); | 2429 | SetFileAttributes (filename, attributes); |
| 2430 | } | 2430 | } |
| 2431 | #else /* not WINDOWSNT */ | 2431 | #else /* not WINDOWSNT */ |
| 2432 | immediate_quit = 1; | ||
| 2432 | ifd = emacs_open (SDATA (encoded_file), O_RDONLY, 0); | 2433 | ifd = emacs_open (SDATA (encoded_file), O_RDONLY, 0); |
| 2434 | immediate_quit = 0; | ||
| 2435 | |||
| 2433 | if (ifd < 0) | 2436 | if (ifd < 0) |
| 2434 | report_file_error ("Opening input file", Fcons (file, Qnil)); | 2437 | report_file_error ("Opening input file", Fcons (file, Qnil)); |
| 2435 | 2438 | ||