summaryrefslogtreecommitdiffstats
path: root/bin/sh/options.h
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>1999-04-01 13:27:36 +0000
committercracauer <cracauer@FreeBSD.org>1999-04-01 13:27:36 +0000
commit5610584759a8f26e412dab049cd02e3a33a2d256 (patch)
tree8e1d1ff2895d740ebfae1a16cedd73afd5ed5078 /bin/sh/options.h
parentfa9cc0ebfb3821fac3240755fae227fa654a37f7 (diff)
downloadFreeBSD-src-5610584759a8f26e412dab049cd02e3a33a2d256.zip
FreeBSD-src-5610584759a8f26e412dab049cd02e3a33a2d256.tar.gz
The immediate execution of traps I introduced in September 1998 (to
make /etc/rc interruptible in cases when programs hang with blocked signals) isn't standard enough. It is now switched off by default and a new switch -T enables it. You should update /etc/rc to the version I'm about to commit in a few minutes to keep it interruptible.
Diffstat (limited to 'bin/sh/options.h')
-rw-r--r--bin/sh/options.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/sh/options.h b/bin/sh/options.h
index 28b9819..907cab2 100644
--- a/bin/sh/options.h
+++ b/bin/sh/options.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)options.h 8.2 (Berkeley) 5/4/95
- * $Id$
+ * $Id: options.h,v 1.7 1997/02/22 13:58:40 peter Exp $
*/
struct shparam {
@@ -64,8 +64,9 @@ struct shparam {
#define bflag optlist[13].val
#define uflag optlist[14].val
#define privileged optlist[15].val
+#define Tflag optlist[16].val
-#define NOPTS 16
+#define NOPTS 17
struct optent {
const char *name;
@@ -91,6 +92,7 @@ struct optent optlist[NOPTS] = {
{ "notify", 'b', 0 },
{ "nounset", 'u', 0 },
{ "privileged", 'p', 0 },
+ { "trapsasync", 'T', 0 },
};
#else
extern struct optent optlist[NOPTS];
OpenPOWER on IntegriCloud