diff options
author | Ron Yorston <rmy@pobox.com> | 2018-12-05 17:26:55 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-12-05 17:26:55 +0000 |
commit | d257c7f2b6c44662c793d00d0b9286d6246b84a3 (patch) | |
tree | fd651c08a7f27053a18d30f1a40ba819643668ee /docs | |
parent | 2a34d6d4e3122df2f84eb1290221128be47dc36b (diff) | |
download | busybox-w32-d257c7f2b6c44662c793d00d0b9286d6246b84a3.tar.gz busybox-w32-d257c7f2b6c44662c793d00d0b9286d6246b84a3.tar.bz2 busybox-w32-d257c7f2b6c44662c793d00d0b9286d6246b84a3.zip |
ash: fix 'type' and 'command -v'
The 'type' and 'command -v' builtins could return incorrect
information when their argument included a file separator.
For example:
$ command -v cmd
C:/Windows/system32/cmd.exe
$ command -v C:/Windows/system32/cmd.exe
$ echo $?
127
Fix the faulty logic causing this.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions