diff options
author | Martin Cracauer <cracauer@FreeBSD.org> | 1998-08-25 09:33:34 +0000 |
---|---|---|
committer | Martin Cracauer <cracauer@FreeBSD.org> | 1998-08-25 09:33:34 +0000 |
commit | 1f40b47b4600d045d67c45a09a4feed9dbff22a2 (patch) | |
tree | 97f39772364b6db1f1cce9bdd9b49c42fa85137c /bin/sh/trap.c | |
parent | 40d009a7171e733336aab9cd444c8469ec795f8c (diff) | |
download | src-1f40b47b4600d045d67c45a09a4feed9dbff22a2.tar.gz src-1f40b47b4600d045d67c45a09a4feed9dbff22a2.zip |
Improve bookkeeping of in_waitcmd and style fixes.
Submitted by: Bruce Evans
Notes
Notes:
svn path=/head/; revision=38536
Diffstat (limited to 'bin/sh/trap.c')
-rw-r--r-- | bin/sh/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/trap.c b/bin/sh/trap.c index 58151f42dd45..0d8558b2fb31 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 */ |