diff options
| author | Paul Eggert | 2013-07-16 11:30:52 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-07-16 11:30:52 -0700 |
| commit | 4e604a5d70c4f26abe8bb3494346c598389906b3 (patch) | |
| tree | 6842a74fd23245cde0e5e4a97aa42ca32c119a0f /src/ChangeLog | |
| parent | a9757f6a03cce5ff2931b1125a9a2249573c8e1c (diff) | |
| download | emacs-4e604a5d70c4f26abe8bb3494346c598389906b3.tar.gz emacs-4e604a5d70c4f26abe8bb3494346c598389906b3.zip | |
Be simpler and more consistent about reporting I/O errors.
* fileio.c (Fcopy_file, Finsert_file_contents, Fwrite_region):
Say "Read error" and "Write error", rather than "I/O error", or
"IO error reading", or "IO error writing", when a read or write
error occurs.
* process.c (Fmake_network_process, wait_reading_process_output)
(send_process, Fprocess_send_eof, wait_reading_process_output):
Capitalize diagnostics consistently. Put "failed foo" at the
start of the diagnostic, so that we don't capitalize the
function name "foo". Consistently say "failed" for such
diagnostics.
* sysdep.c, w32.c (serial_open): Now accepts Lisp string, not C string.
All callers changed. This is so it can use report_file_error.
* sysdep.c (serial_open, serial_configure): Capitalize I/O
diagnostics consistently as above.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0c96e4b901b..f234fef84a6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,21 @@ | |||
| 1 | 2013-07-16 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-07-16 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Be simpler and more consistent about reporting I/O errors. | ||
| 4 | * fileio.c (Fcopy_file, Finsert_file_contents, Fwrite_region): | ||
| 5 | Say "Read error" and "Write error", rather than "I/O error", or | ||
| 6 | "IO error reading", or "IO error writing", when a read or write | ||
| 7 | error occurs. | ||
| 8 | * process.c (Fmake_network_process, wait_reading_process_output) | ||
| 9 | (send_process, Fprocess_send_eof, wait_reading_process_output): | ||
| 10 | Capitalize diagnostics consistently. Put "failed foo" at the | ||
| 11 | start of the diagnostic, so that we don't capitalize the | ||
| 12 | function name "foo". Consistently say "failed" for such | ||
| 13 | diagnostics. | ||
| 14 | * sysdep.c, w32.c (serial_open): Now accepts Lisp string, not C string. | ||
| 15 | All callers changed. This is so it can use report_file_error. | ||
| 16 | * sysdep.c (serial_open, serial_configure): Capitalize I/O | ||
| 17 | diagnostics consistently as above. | ||
| 18 | |||
| 3 | * fileio.c (report_file_errno): Fix errno reporting bug. | 19 | * fileio.c (report_file_errno): Fix errno reporting bug. |
| 4 | If the file name is neither null nor a pair, package it up as a | 20 | If the file name is neither null nor a pair, package it up as a |
| 5 | singleton list. All callers changed, both to this function and to | 21 | singleton list. All callers changed, both to this function and to |