diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-07-16 11:30:52 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-07-16 11:30:52 -0700 |
commit | 4e604a5d70c4f26abe8bb3494346c598389906b3 (patch) | |
tree | 6842a74fd23245cde0e5e4a97aa42ca32c119a0f /src/systty.h | |
parent | a9757f6a03cce5ff2931b1125a9a2249573c8e1c (diff) | |
download | emacs-4e604a5d70c4f26abe8bb3494346c598389906b3.tar.gz |
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/systty.h')
-rw-r--r-- | src/systty.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systty.h b/src/systty.h index 6d38c980725..b735971c66f 100644 --- a/src/systty.h +++ b/src/systty.h @@ -79,5 +79,5 @@ struct emacs_tty { }; /* From sysdep.c or w32.c */ -extern int serial_open (char *); +extern int serial_open (Lisp_Object); extern void serial_configure (struct Lisp_Process *, Lisp_Object); |