mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 05:47:36 +00:00
(Fcopy_file): Set immediate_quit around emacs_open call.
This commit is contained in:
parent
f58e9f8c1a
commit
133369080e
1 changed files with 3 additions and 0 deletions
|
|
@ -2429,7 +2429,10 @@ A prefix arg makes KEEP-TIME non-nil. */)
|
|||
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));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue