From 2c2c44d3acd0707975242b74649ad2323e1b8e28 Mon Sep 17 00:00:00 2001 From: "Guillermo J. Rozas" Date: Sat, 7 Feb 1987 15:29:41 +0000 Subject: [PATCH] Add TERM_SIGNAL for unix.c --- v7/src/microcode/boot.c | 4 +++- v7/src/microcode/errors.h | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/boot.c b/v7/src/microcode/boot.c index 55dbb5b77..22afa2e9a 100644 --- a/v7/src/microcode/boot.c +++ b/v7/src/microcode/boot.c @@ -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/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)) diff --git a/v7/src/microcode/errors.h b/v7/src/microcode/errors.h index 020df5f28..b39c48442 100644 --- a/v7/src/microcode/errors.h +++ b/v7/src/microcode/errors.h @@ -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 -- 2.25.1