summaryrefslogtreecommitdiff
path: root/src/macros.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-07-16 11:30:52 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-07-16 11:30:52 -0700
commit4e604a5d70c4f26abe8bb3494346c598389906b3 (patch)
tree6842a74fd23245cde0e5e4a97aa42ca32c119a0f /src/macros.c
parenta9757f6a03cce5ff2931b1125a9a2249573c8e1c (diff)
downloademacs-4e604a5d70c4f26abe8bb3494346c598389906b3.tar.gz
emacs-4e604a5d70c4f26abe8bb3494346c598389906b3.tar.bz2
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/macros.c')
0 files changed, 0 insertions, 0 deletions