diff options
author | Rob Landley <rob@landley.net> | 2021-04-05 07:30:07 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2021-04-05 07:30:07 -0500 |
commit | cecc41a3c52519ac1d65989b266fec32a2bd6ff7 (patch) | |
tree | 99ee765ab7b81d2eb74d62bc52fa2fe6a1bfcde9 /toys/posix/env.c | |
parent | 6a73a3c9ee4b9e17704c368c27d0af34d785fa53 (diff) | |
download | toybox-cecc41a3c52519ac1d65989b266fec32a2bd6ff7.tar.gz |
Any / in string makes it a path, not just absolute path.
Note: toy_exec() does an exact name match so fails given a path anyway,
it's just an optimization to avoid the binary search, but special casing
absolute path while very cheap isn't _correct_...
Diffstat (limited to 'toys/posix/env.c')
0 files changed, 0 insertions, 0 deletions