diff options
author | Rob Landley <rob@landley.net> | 2015-07-10 14:52:14 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-07-10 14:52:14 -0500 |
commit | 6292beb86fa9a3999f0f0b76185e0a893af85cd0 (patch) | |
tree | 047be7bae09f50534ea5d73c586c060e1ad50fac /toys/posix/strings.c | |
parent | 68771c00530622b5bc52438ae8010c7a6f429791 (diff) | |
download | toybox-6292beb86fa9a3999f0f0b76185e0a893af85cd0.tar.gz |
Add a basename_r() and use it in names_to_pid() to avoid basename() overwriting
itself on some inputs. (Which makes killall really impolite. Bug report
from Nicholas Noury via Elliott Hughes.)
Diffstat (limited to 'toys/posix/strings.c')
0 files changed, 0 insertions, 0 deletions