diff options
author | Elliott Hughes <enh@google.com> | 2019-07-01 16:15:55 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-07-06 16:15:35 -0500 |
commit | 82a33b3f060e163b14155e8f6833ec30514a609b (patch) | |
tree | 8ea5cce41b024233ef8af23dcaf12a1068e9b0be /toys/other/yes.c | |
parent | 3d8bbdc83d8b4891c1b887942e054974eb6291b7 (diff) | |
download | toybox-82a33b3f060e163b14155e8f6833ec30514a609b.tar.gz |
killall: better handling of long names.
Change names_to_pid() so that we can actually match shell scripts with
long names (the code to get the shell script's name was correct, but
there was an extra test preventing us from actually comparing it to the
sought name).
In kill.c itself, remove a dead test for -l and switch to the FLAG()
macro.
Also extend the tests to explicitly cover long and short names.
Diffstat (limited to 'toys/other/yes.c')
0 files changed, 0 insertions, 0 deletions