OSDN Git Service

Replace for_each_pid_with_name_in_array_perform_callback_function_upon_translated_val...
authorRob Landley <rob@landley.net>
Tue, 3 Sep 2013 23:43:32 +0000 (18:43 -0500)
committerRob Landley <rob@landley.net>
Tue, 3 Sep 2013 23:43:32 +0000 (18:43 -0500)
commit7d64dae54bde70744a9154b8ac1cbb09d03881c9
tree1ee92b4e0254f07b71e1d51227ede4116db7b51c
parentb7ca39c9473ecc3f5fbb71e2c9e40ad99b79e03e
Replace for_each_pid_with_name_in_array_perform_callback_function_upon_translated_value() with name_to_pid(), comparing absolute paths or just basename() consistently as spotted by Lukasz Skalski, and adjust callers.
lib/pending.c
toys/lsb/killall.c
toys/lsb/pidof.c