diff options
author | Ron Yorston <rmy@pobox.com> | 2020-06-09 16:25:49 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-06-09 16:25:49 +0100 |
commit | 4fe76647b356a85810fa3d355d7ad0512be1210c (patch) | |
tree | 80f760e239a2013aadaecfc92ad7652129bd3ebf /win32 | |
parent | 0656b8730855833567bf305b930442f50cbd44b4 (diff) | |
download | busybox-w32-4fe76647b356a85810fa3d355d7ad0512be1210c.tar.gz busybox-w32-4fe76647b356a85810fa3d355d7ad0512be1210c.tar.bz2 busybox-w32-4fe76647b356a85810fa3d355d7ad0512be1210c.zip |
ash: minimise work when a forkshell process is started
There's no need to create or initialise the global data structures
when a forkshell is being started: they'll soon be replaced by
data from the forkshell data block.
Move the call to forkshell_init() to the top of ash_main() along
with some initialisation that's common to forkshell shells and
ordinary shells. Add the minimum necessary initialisation to
forkshell_init().
Diffstat (limited to 'win32')
0 files changed, 0 insertions, 0 deletions