diff options
| author | Jim Blandy | 1992-03-21 06:26:29 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-03-21 06:26:29 +0000 |
| commit | 6633118723c1709b9e2fe2c539ea988d1b83a345 (patch) | |
| tree | a3a7566faa749172640a2bf24d2e2fae5e3e167c /src | |
| parent | b19075d18e4f0af0f5abe13af66eff4e3ee958f2 (diff) | |
| download | emacs-6633118723c1709b9e2fe2c539ea988d1b83a345.tar.gz emacs-6633118723c1709b9e2fe2c539ea988d1b83a345.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index 4b258b67fbe..ea7f8c6250f 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -1405,7 +1405,7 @@ A prefix arg makes KEEP-TIME non-nil.") | |||
| 1405 | ofd = creat (XSTRING (newname)->data, 0666); | 1405 | ofd = creat (XSTRING (newname)->data, 0666); |
| 1406 | #endif /* VMS */ | 1406 | #endif /* VMS */ |
| 1407 | if (ofd < 0) | 1407 | if (ofd < 0) |
| 1408 | report_file_error ("Opening output file", Fcons (newname, Qnil)); | 1408 | report_file_error ("Opening output file", Fcons (newname, Qnil)); |
| 1409 | 1409 | ||
| 1410 | record_unwind_protect (close_file_unwind, make_number (ofd)); | 1410 | record_unwind_protect (close_file_unwind, make_number (ofd)); |
| 1411 | 1411 | ||
| @@ -1413,7 +1413,7 @@ A prefix arg makes KEEP-TIME non-nil.") | |||
| 1413 | QUIT; | 1413 | QUIT; |
| 1414 | while ((n = read (ifd, buf, sizeof buf)) > 0) | 1414 | while ((n = read (ifd, buf, sizeof buf)) > 0) |
| 1415 | if (write (ofd, buf, n) != n) | 1415 | if (write (ofd, buf, n) != n) |
| 1416 | report_file_error ("I/O error", Fcons (newname, Qnil)); | 1416 | report_file_error ("I/O error", Fcons (newname, Qnil)); |
| 1417 | immediate_quit = 0; | 1417 | immediate_quit = 0; |
| 1418 | 1418 | ||
| 1419 | if (fstat (ifd, &st) >= 0) | 1419 | if (fstat (ifd, &st) >= 0) |