aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 92335b639cd..a50f8d67c11 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2219,7 +2219,7 @@ permissions. */)
2219 report_file_error ("Copying permissions to", newname); 2219 report_file_error ("Copying permissions to", newname);
2220 } 2220 }
2221#else /* not WINDOWSNT */ 2221#else /* not WINDOWSNT */
2222 ifd = emacs_open (SSDATA (encoded_file), O_RDONLY, 0); 2222 ifd = emacs_open (SSDATA (encoded_file), O_RDONLY | O_NONBLOCK, 0);
2223 2223
2224 if (ifd < 0) 2224 if (ifd < 0)
2225 report_file_error ("Opening input file", file); 2225 report_file_error ("Opening input file", file);