aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-07-01 16:15:55 -0700
committerRob Landley <rob@landley.net>2019-07-06 16:15:35 -0500
commit82a33b3f060e163b14155e8f6833ec30514a609b (patch)
tree8ea5cce41b024233ef8af23dcaf12a1068e9b0be /toys/posix
parent3d8bbdc83d8b4891c1b887942e054974eb6291b7 (diff)
downloadtoybox-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/posix')
0 files changed, 0 insertions, 0 deletions