Up to [local] / src / usr.bin / timeout
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_7_2_BASE
Revision 1.21 / (download) - annotate - [select for diffs], Sat Jul 2 19:00:35 2022 UTC (23 months, 1 week ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2
Changes since 1.20: +5 -3 lines
Diff to previous 1.20 (colored)
Make -s accept HUP like kill(1) and GNU timeout(1) do timeout.c's parse_signal() basically does what kill.c's signame_to_num() does, except it expects "SIG" in string signals. Borrow the isalpha() check from kill.c to get the same behaviour. OK deraadt