From 57a57a05cacca963507bd828a7c90f4289c443e2 Mon Sep 17 00:00:00 2001 From: cracauer Date: Mon, 24 Aug 1998 19:15:48 +0000 Subject: Got two volatile sig_atomic_t and int mixed up. Spotted by Gary Palmer. --- bin/sh/error.c | 4 ++-- bin/sh/error.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/sh/error.c b/bin/sh/error.c index 0464f6e..e690199 100644 --- a/bin/sh/error.c +++ b/bin/sh/error.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)error.c 8.2 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id: error.c,v 1.10 1998/05/18 06:43:32 charnier Exp $"; + "$Id: error.c,v 1.11 1998/08/24 10:20:36 cracauer Exp $"; #endif /* not lint */ /* @@ -64,7 +64,7 @@ static const char rcsid[] = struct jmploc *handler; volatile sig_atomic_t exception; -int suppressint; +volatile sig_atomic_t suppressint; volatile sig_atomic_t intpending; char *commandname; diff --git a/bin/sh/error.h b/bin/sh/error.h index eb0f523..eed9c9d 100644 --- a/bin/sh/error.h +++ b/bin/sh/error.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)error.h 8.2 (Berkeley) 5/4/95 - * $Id: error.h,v 1.7 1997/02/22 13:58:23 peter Exp $ + * $Id: error.h,v 1.8 1998/08/24 10:20:36 cracauer Exp $ */ /* @@ -64,7 +64,7 @@ struct jmploc { }; extern struct jmploc *handler; -extern int exception; +extern volatile sig_atomic_t exception; /* exceptions */ #define EXINT 0 /* SIGINT received */ -- cgit v1.1