commit | 6292beb86fa9a3999f0f0b76185e0a893af85cd0 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Fri Jul 10 14:52:14 2015 -0500 |
committer | Rob Landley <rob@landley.net> | Fri Jul 10 14:52:14 2015 -0500 |
tree | 047be7bae09f50534ea5d73c586c060e1ad50fac | |
parent | 68771c00530622b5bc52438ae8010c7a6f429791 [diff] |
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.)