aboutsummaryrefslogtreecommitdiff
path: root/console-tools/setkeycodes.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-06-12 12:34:08 +0100
committerRon Yorston <rmy@pobox.com>2024-06-12 12:43:39 +0100
commit2817c3d4f3fb60b6719782cde57a6b7347cf2898 (patch)
tree177dc25062b8eadddc988c638920f417c77bb2b1 /console-tools/setkeycodes.c
parenta518a4f6023582744fa271ec279375dd3d51a4d4 (diff)
downloadbusybox-w32-path_search.tar.gz
busybox-w32-path_search.tar.bz2
busybox-w32-path_search.zip
win32: allow for trailing separator in PATHpath_search
In recent versions of Windows the PATH environment variable has a trailing semicolon. This is insignificant to Windows because it's ignored. busybox-w32 conforms to the POSIX interpretation of PATH which treats an empty path element as denoting the current directory. As result, on these versions of Windows executables may by default be run from the current directory, contrary to usual Unix practice. Attempt to detect and remove the trailing semicolon on applet start up. If the user insists, they can add a trailing semicolon to the shell variable PATH and it will be respected in the conventional manner. Adds 88-112 bytes.
Diffstat (limited to 'console-tools/setkeycodes.c')
0 files changed, 0 insertions, 0 deletions