diff options
author | Ron Yorston <rmy@pobox.com> | 2022-04-24 11:25:30 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2022-04-24 11:25:30 +0100 |
commit | 2211b446d8ba209d75974a6835aecda3d8358047 (patch) | |
tree | 35bd8d2483661a5aac99a9a8c04146c37e59ec59 /TODO | |
parent | bd43e03eaaf685aec32dbb8997d6d27679215d2b (diff) | |
download | busybox-w32-2211b446d8ba209d75974a6835aecda3d8358047.tar.gz busybox-w32-2211b446d8ba209d75974a6835aecda3d8358047.tar.bz2 busybox-w32-2211b446d8ba209d75974a6835aecda3d8358047.zip |
ash: avoid misleading '.exe' in standalone shell mode
In dash a command with an explicit path has an index value of -1
in its cmdentry structure. Upstream BusyBox extends this to
allow other negative values for applets in standalone shell mode.
busybox-w32 adds a further extension, with the index value INT_MIN
indicating an applet with a Unix-style path.
In describe_command() the command should only have a '.exe'
extension added for index == -1, the original dash case of an
explicit path.
(GitHub issue #248)
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions