diff options
author | Ron Yorston <rmy@pobox.com> | 2023-06-04 09:32:59 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-06-04 09:38:51 +0100 |
commit | e3bfe36959af3029fca49ca3eeb3e05edb7420ac (patch) | |
tree | 848652adb6ed7064529495c5ec6f32cc5f17aa6e /docs | |
parent | a5d290b6b434c9dcc209da111b874659543cad45 (diff) | |
download | busybox-w32-e3bfe36959af3029fca49ca3eeb3e05edb7420ac.tar.gz busybox-w32-e3bfe36959af3029fca49ca3eeb3e05edb7420ac.tar.bz2 busybox-w32-e3bfe36959af3029fca49ca3eeb3e05edb7420ac.zip |
win32: code shrink
getsysdir() wasn't used in get_proc_addr() because the former
called realpath() which in turn called the latter. (Commit
4c6c8d61bc)
realpath() was used to adjust the case of the path name as it
was visible to the user as root's home directory. (Commit
b04bbc0109)
Later the home directory for "root" was changed so it no longer
needed getsysdir(). (Commit 385decd6bf)
The remaining uses of getsysdir() don't require the path to be
canonicalised, so realpath() can be removed from getsysdir() and
getsysdir() can be used in get_proc_addr().
Saves 32-64 bytes
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions