dcantrell / bsdutils

Alternative to GNU coreutils using software from FreeBSD
Other
171 stars 9 forks source link

Port kill(1), fix signal names in timeout(1) #39

Closed q66 closed 2 years ago

q66 commented 2 years ago

Depends on (and includes) https://github.com/dcantrell/bsdutils/pull/38.

This ports kill(1). While doing this, I have also found that in timeout(1) the conversion from sys_signame to strsignal was wrong because strsignal does not really return what we want it to return (it returns human-readable names). Therefore, import public-domain code to handle this (as there is no portable way to do it otherwise). This is needed in both kill(1) and timeout(1).

q66 commented 2 years ago

The pull requests are getting chunky and my other work largely depends on these, so let's deal with these four first.