summaryrefslogtreecommitdiffstats
path: root/bin/sh/trap.c
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>1998-08-25 09:33:34 +0000
committercracauer <cracauer@FreeBSD.org>1998-08-25 09:33:34 +0000
commit2ca0a9a7fbfb8fa635bb19255ab351359ef0d32c (patch)
treef4a8eda0d679103835834312a2c79f44c013b7f9 /bin/sh/trap.c
parent3fc10b771999799e730d32054e38d93549b76b73 (diff)
downloadFreeBSD-src-2ca0a9a7fbfb8fa635bb19255ab351359ef0d32c.zip
FreeBSD-src-2ca0a9a7fbfb8fa635bb19255ab351359ef0d32c.tar.gz
Improve bookkeeping of in_waitcmd and style fixes.
Submitted by: Bruce Evans
Diffstat (limited to 'bin/sh/trap.c')
-rw-r--r--bin/sh/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/trap.c b/bin/sh/trap.c
index 58151f4..0d8558b 100644
--- a/bin/sh/trap.c
+++ b/bin/sh/trap.c
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)trap.c 8.5 (Berkeley) 6/5/95";
#endif
static const char rcsid[] =
- "$Id: trap.c,v 1.12 1998/08/24 10:20:36 cracauer Exp $";
+ "$Id: trap.c,v 1.13 1998/08/25 08:49:47 cracauer Exp $";
#endif /* not lint */
#include <signal.h>
@@ -76,7 +76,7 @@ static const char rcsid[] =
MKINIT char sigmode[NSIG]; /* current value of signal */
int pendingsigs; /* indicates some signal received */
-int in_dotrap = 0; /* Do we execute in a trap handler? */
+int in_dotrap; /* do we execute in a trap handler? */
static char *trap[NSIG]; /* trap handler commands */
static volatile sig_atomic_t gotsig[NSIG];
/* indicates specified signal received */
OpenPOWER on IntegriCloud