Add TERM_SIGNAL for unix.c
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Sat, 7 Feb 1987 15:29:41 +0000 (15:29 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Sat, 7 Feb 1987 15:29:41 +0000 (15:29 +0000)
v7/src/microcode/boot.c
v7/src/microcode/errors.h

index 55dbb5b77d5be25b886030caccb39f9f27730af3..22afa2e9af93641ccc0b2a1203fdc1c5c654d9e7 100644 (file)
@@ -30,7 +30,7 @@ Technology nor of any adaptation thereof in any advertising,
 promotional, or sales literature without prior written consent from
 MIT in each case. */
 \f
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/boot.c,v 9.24 1987/02/07 15:23:37 jinx Exp $
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/boot.c,v 9.25 1987/02/07 15:29:41 jinx Exp $
  *
  * This file contains the code to support startup of
  * the SCHEME interpreter.
@@ -504,6 +504,8 @@ long Err, Micro_Error;
       printf("Return code not implemented.\n"); break;
     case TERM_NO_SPACE:
       printf("Not enough memory.\n"); break;
+    case TERM_SIGNAL:
+      printf("Unhandled signal received.\n"); break;
     default: printf("Termination code 0x%x.\n", Err);
   }
   if ((Trace_On_Error) && (Err != TERM_HALT))
index 020df5f28322802caad0de369e2559a9f2f06dee..b39c4844296a4e46b6d4f73031b1c91530a15f5f 100644 (file)
@@ -30,7 +30,7 @@ Technology nor of any adaptation thereof in any advertising,
 promotional, or sales literature without prior written consent from
 MIT in each case. */
 
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/errors.h,v 9.22 1987/02/02 15:18:06 jinx Exp $
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/errors.h,v 9.23 1987/02/07 15:28:03 jinx Exp $
  *
  * Error and termination code declarations.  This must correspond
  * to UTABMD.SCM
@@ -124,3 +124,4 @@ MIT in each case. */
 #define TERM_COMPILER_DEATH                    0x13
 #define TERM_GC_OUT_OF_SPACE                   0x14
 #define TERM_NO_SPACE                          0x15
+#define TERM_SIGNAL                            0x16