diff options
author | Ron Yorston <rmy@pobox.com> | 2023-06-21 08:48:57 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-06-21 08:48:57 +0100 |
commit | 3e73f1bd10d208a6a5636fdae632a58e892ad42a (patch) | |
tree | 7ca372b7d163fb0ae47d2bf89b5b8b9ff377c06c /runit | |
parent | 29f13acfb2d3818592d93590aa06de3c4f169b42 (diff) | |
download | busybox-w32-3e73f1bd10d208a6a5636fdae632a58e892ad42a.tar.gz busybox-w32-3e73f1bd10d208a6a5636fdae632a58e892ad42a.tar.bz2 busybox-w32-3e73f1bd10d208a6a5636fdae632a58e892ad42a.zip |
ash: standardise treatment of winxp option
Although 'winxp' is a shell option it could only be set with '-X'
on the command line.
Fully implement 'winxp' so it can also be set within the shell by
'set -o winxp' and 'set +o winxp'. '-X' no longer needs to be the
first option on the command line.
Track which shell variables have been imported from a native Windows
environment so only those are affected when 'winxp' is changed. The
tracking persists in a subshell but is lost when shell variables are
exported to the environment so 'set -/+o winxp' is ineffective in a
child shell.
Costs 48-52 bytes.
(GitHub issue #322)
Diffstat (limited to 'runit')
0 files changed, 0 insertions, 0 deletions