Date: Wed, 24 Feb 2016 09:38:40 -0500 From: "Christos Zoulas" <chris...@netbsd.org> Message-ID: <20160224143840.c906df...@cvs.netbsd.org>
| Modified Files: | src/bin/sh: options.c | | Log Message: | 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) Oh, sorry, I forgot to send suggestions for commit log entries when I sent that lot of updates... That one makes this patch sound much more important and substantive than it really is - what the log message there says was already done in the shell. All the patch does is make the initial value of the F flag reflect that state. That is, now you can tell if your shell was compiled without vfork() support (if for some reason you care) by seeing whether F appears in the value of $- (when nothing has contrived to change it, so using a command something like) ENV=/dev/null sh -c 'echo $-' would do it. kre