summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-03-21 06:26:29 +0000
committerJim Blandy <jimb@redhat.com>1992-03-21 06:26:29 +0000
commite7adaa48d5fcd6525de133064744d18b73604c4b (patch)
treeab23fb1dabab0a2961aa3a6293106916d551feb1
parent0a71e6e84f02de62a9816d9625fc9f98762e2117 (diff)
downloademacs-e7adaa48d5fcd6525de133064744d18b73604c4b.tar.gz
*** empty log message ***
-rw-r--r--etc/=MACHINES7
-rw-r--r--src/fileio.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/etc/=MACHINES b/etc/=MACHINES
index 969bce970e8..5173b5f3427 100644
--- a/etc/=MACHINES
+++ b/etc/=MACHINES
@@ -639,6 +639,13 @@ SONY News 3000 series (RISC NEWS) (-machine=news-risc; -opsystem=bsd4-3)
Works, as of 18.56. Note that this is a MIPS architecture machine.
+ Some versions of the operating system give SIGTRAP for division by zero
+ instead of the usual signals. This causes division by zero
+ to make Emacs crash. The system should be fixed to give the proper signal.
+ Changing Emacs is not a proper solution, because it would prevent
+ Emacs from working under any debugger. But you can change init_data
+ in data.c if you wish.
+
Stardent 1500 or 3000
See Titan.
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.")
ofd = creat (XSTRING (newname)->data, 0666);
#endif /* VMS */
if (ofd < 0)
- report_file_error ("Opening output file", Fcons (newname, Qnil));
+ report_file_error ("Opening output file", Fcons (newname, Qnil));
record_unwind_protect (close_file_unwind, make_number (ofd));
@@ -1413,7 +1413,7 @@ A prefix arg makes KEEP-TIME non-nil.")
QUIT;
while ((n = read (ifd, buf, sizeof buf)) > 0)
if (write (ofd, buf, n) != n)
- report_file_error ("I/O error", Fcons (newname, Qnil));
+ report_file_error ("I/O error", Fcons (newname, Qnil));
immediate_quit = 0;
if (fstat (ifd, &st) >= 0)