From 6633118723c1709b9e2fe2c539ea988d1b83a345 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 21 Mar 1992 06:26:29 +0000 Subject: [PATCH] *** empty log message *** --- etc/MACHINES | 7 +++++++ src/fileio.c | 4 ++-- 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) -- 2.11.4.GIT