aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-01-16 14:26:53 +0000
committerRon Yorston <rmy@pobox.com>2020-01-16 14:26:53 +0000
commitdf87b596a3c4f404a06b3e902f9e085980ca62e0 (patch)
tree36bdd3062fa6cf5ce3f54351f6ff4126a63a9705 /runit
parent2ffcb860ea478d4b8d553fe59af5982c5939f7fa (diff)
downloadbusybox-w32-df87b596a3c4f404a06b3e902f9e085980ca62e0.tar.gz
busybox-w32-df87b596a3c4f404a06b3e902f9e085980ca62e0.tar.bz2
busybox-w32-df87b596a3c4f404a06b3e902f9e085980ca62e0.zip
ash: rework how pointers are adjusted during forkshell
The original code kept an array of pointers to pointers that needed to be adjusted after forkshell (nodeptr). Switch to using a map to indicate which locations in the data block need to be adjusted. This requires a larger data block. However the *_size() functions which calculate the data block size need less information about the data structures. Saves about 100 bytes in the binary.
Diffstat (limited to 'runit')
0 files changed, 0 insertions, 0 deletions