changeset 595:114b502d0822

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Sat, 21 Mar 1992 06:26:29 +0000
parents efa0c124c178
children d02d6c2f7f80
files etc/=MACHINES src/fileio.c
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/etc/=MACHINES	Sat Mar 21 05:58:05 1992 +0000
+++ b/etc/=MACHINES	Sat Mar 21 06:26:29 1992 +0000
@@ -639,6 +639,13 @@
 
   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.
--- a/src/fileio.c	Sat Mar 21 05:58:05 1992 +0000
+++ b/src/fileio.c	Sat Mar 21 06:26:29 1992 +0000
@@ -1405,7 +1405,7 @@
   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 @@
   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)