From c1129edc240d78b5711181e7c1f1823a2ab30dc5 Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Tue, 26 Jan 2010 18:54:18 +0000 Subject: [PATCH] Exit with code 1 if ldb wants to quit due to EOF on something other than a tty. This makes the build scripts stop if we get dumped to ldb due to a fatal build error. --- lisp/monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/monitor.c b/lisp/monitor.c index a632442d4..806e503c6 100644 --- a/lisp/monitor.c +++ b/lisp/monitor.c @@ -1,4 +1,4 @@ -/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/monitor.c,v 1.21 2008/03/19 09:17:13 cshapiro Rel $ */ +/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/monitor.c,v 1.22 2010/01/26 18:54:18 rtoy Rel $ */ #include <stdio.h> #include <sys/types.h> @@ -470,7 +470,7 @@ sub_monitor(void) continue; } else { fprintf(stderr, "\nEOF on something other than a tty.\n"); - exit(0); + exit(1); } } ptr = line; -- GitLab