diff options
author | jilles <jilles@FreeBSD.org> | 2011-06-16 21:50:28 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2011-06-16 21:50:28 +0000 |
commit | 00d33feb9db18288f251841bbebdf3b74f4d875e (patch) | |
tree | 294e1c4d6e3e5c1512b2ca2ccbd4ef4b71e3362f /lib/libc/stdlib/system.c | |
parent | b127ed6f91700e786b6d214b85775e125cb5688b (diff) | |
download | FreeBSD-src-00d33feb9db18288f251841bbebdf3b74f4d875e.zip FreeBSD-src-00d33feb9db18288f251841bbebdf3b74f4d875e.tar.gz |
sh: Reduce unnecessary forks with eval.
The eval special builtin now runs the code with EV_EXIT if it was run
with EV_EXIT itself.
In particular, this eliminates one fork when a command substitution contains
an eval command that ends with an external program or a subshell.
This is similar to what r220978 did for functions.
Diffstat (limited to 'lib/libc/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions