Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh If we don't have shared address space vfork fail back...
details: https://anonhg.NetBSD.org/src/rev/a7a57256980b
branches: trunk
changeset: 343739:a7a57256980b
user: christos <christos%NetBSD.org@localhost>
date: Wed Feb 24 14:38:40 2016 +0000
description:
If we don't have shared address space vfork fail back to using fork since
we are depending on the shared address space feature (from kre)
diffstat:
bin/sh/options.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r dc765f52078e -r a7a57256980b bin/sh/options.c
--- a/bin/sh/options.c Wed Feb 24 14:35:51 2016 +0000
+++ b/bin/sh/options.c Wed Feb 24 14:38:40 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: options.c,v 1.43 2012/03/20 18:42:29 matt Exp $ */
+/* $NetBSD: options.c,v 1.44 2016/02/24 14:38:40 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: options.c,v 1.43 2012/03/20 18:42:29 matt Exp $");
+__RCSID("$NetBSD: options.c,v 1.44 2016/02/24 14:38:40 christos Exp $");
#endif
#endif /* not lint */
@@ -103,6 +103,10 @@
iflag = 2;
if (mflag == 2)
mflag = iflag;
+#ifndef DO_SHAREDVFORK
+ if (usefork == 2)
+ usefork = 1;
+#endif
for (i = 0; i < NOPTS; i++)
if (optlist[i].val == 2)
optlist[i].val = 0;
Home |
Main Index |
Thread Index |
Old Index