aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-09-04 12:47:03 +0100
committerRon Yorston <rmy@pobox.com>2024-09-04 12:47:03 +0100
commitcbfa58d56c3ca59538bf23e30105ce27ed5ef948 (patch)
tree29c88182b7ff243931d5956121e23cd877112b16 /TODO
parent13a2b505b3fd7abcb4b4516d6745df870d7aee64 (diff)
downloadbusybox-w32-cbfa58d56c3ca59538bf23e30105ce27ed5ef948.tar.gz
busybox-w32-cbfa58d56c3ca59538bf23e30105ce27ed5ef948.tar.bz2
busybox-w32-cbfa58d56c3ca59538bf23e30105ce27ed5ef948.zip
ash: optimise running of scripts (2)
Commit 4b7b4a960 (ash: optimise running of scripts) avoided creation of a process when running a script. There's another case where we can do the same: if the script is being run from a FS_SHELLEXEC shell. - Check the necessary conditions for this to happen. - Allocate two extra slots in the argv array for FS_SHELLEXEC. - Set the index of the script file in the argv array. Without this the test 'pidof this' failed because the command name hadn't been correctly set. Adds 80-96 bytes.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions