summaryrefslogtreecommitdiffstats
path: root/bin/sh/trap.c
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-02-12 05:05:56 +0000
committernjl <njl@FreeBSD.org>2004-02-12 05:05:56 +0000
commitc7690426167e786ff7a8d9c20a2698db348d6dd0 (patch)
tree91206e43e266f23608c516c6c122cb92f38d1d4d /bin/sh/trap.c
parentca9c7ad140876f6e00fd8632803ef555a90fb1a5 (diff)
downloadFreeBSD-src-c7690426167e786ff7a8d9c20a2698db348d6dd0.zip
FreeBSD-src-c7690426167e786ff7a8d9c20a2698db348d6dd0.tar.gz
style(9): wrap at 80 columns.
Diffstat (limited to 'bin/sh/trap.c')
-rw-r--r--bin/sh/trap.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/sh/trap.c b/bin/sh/trap.c
index 23f1885..f1b670f 100644
--- a/bin/sh/trap.c
+++ b/bin/sh/trap.c
@@ -109,7 +109,8 @@ sigstring_to_signum(char *sig)
if (strncasecmp(sig, "sig", 3) == 0)
sig += 3;
for (n = 1; n < sys_nsig; n++)
- if (sys_signame[n] && strcasecmp(sys_signame[n], sig) == 0)
+ if (sys_signame[n] &&
+ strcasecmp(sys_signame[n], sig) == 0)
return (n);
}
return (-1);
@@ -413,8 +414,9 @@ dotrap(void)
gotsig[i] = 0;
if (trap[i]) {
/*
- * Ignore SIGCHLD to avoid infinite recursion
- * if the trap action does a fork.
+ * Ignore SIGCHLD to avoid infinite
+ * recursion if the trap action does
+ * a fork.
*/
if (i == SIGCHLD)
ignore_sigchld++;
OpenPOWER on IntegriCloud