Elliott Hughes
|
903f06c778
killall: implement -w.
|
5 lat temu |
Elliott Hughes
|
a7b8b772de
pidof: fix default behavior, add -x.
|
5 lat temu |
Elliott Hughes
|
82a33b3f06
killall: better handling of long names.
|
5 lat temu |
Elliott Hughes
|
1e229a235d
Improve signal name<->number conversions.
|
5 lat temu |
Elliott Hughes
|
141a075c0e
Clean up some --help formatting.
|
5 lat temu |
Rob Landley
|
503e636229
Convert more GLOBALS argument vars to the new single letter code style.
|
5 lat temu |
Rob Landley
|
d3a435e53c
Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format
|
8 lat temu |
Rob Landley
|
e5354ca12a
Replace toys.exithelp with help_exit() in lib.
|
8 lat temu |
Rob Landley
|
b1353fb918
Remove prompt argument from yesno(), caller can fprintf(stderr, "blah") itself.
|
8 lat temu |
Rob Landley
|
3d56716d36
Various bugfixes (mostly resource leaks) from Ashwini Sharma's static analysis, plus occasional tweak by me while reviewing them.
|
9 lat temu |
?ukasz Szpakowski
|
08ac30d860
When killall was invoked without arguments, there appeared segmentation fault
|
9 lat temu |
Rob Landley
|
f070ec01d9
Add -s option, allow zero optargs for -l. (Suggested by Ashwini Sharma.)
|
10 lat temu |
Rob Landley
|
06387550f3
killall: fix return code, improve error reporting, avoid buffer overflow.
|
10 lat temu |
Rob Landley
|
7d64dae54b
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.
|
10 lat temu |
Rob Landley
|
27cec9ac4c
Minor cleanups.
|
11 lat temu |
Elie De Brauwer
|
41b4748557
LSB does not allow killall to kill itself
|
11 lat temu |
Elie De Brauwer
|
ca4035bdac
Extend killall with support for -v and -i
|
11 lat temu |
Elie De Brauwer
|
7c6209d6c3
Adding -s (single shot) and -o (omit pids) options to pidof
|
11 lat temu |
Rob Landley
|
caf39c2682
Add rebound support to intercept error_exit() and longjmp instead.
|
11 lat temu |
Rob Landley
|
7aa651a6a4
Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
|
11 lat temu |
Rob Landley
|
c0e56edaf2
New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
|
11 lat temu |
Rob Landley
|
f91b7c89bc
Regularize command headers, update links to standards documents.
|
12 lat temu |
Rob Landley
|
3a9241add9
Move commands into "posix", "lsb", and "other" menus/directories.
|
12 lat temu |