I've just noticed that I did not include the required header in my original patch:

    Package: busybox
    Version: v1.33.2 (or whatever the current version is)
    Severity: wishlist

On 2021-10-09 12:27, Matthew Slowe wrote:
Add support for GNU coreutils "-k" parameter to timeout applet.

This patch moves the timing and process checking code into a separate reusable function and adds a optional second timeout which will send a SIGKILL to the process if it's still alive.

The patch introduces a compiler warning about mismatched "const char *" and "char *". I've left a FIXME.

I have just re-built and tested against the latest 1.33.2 branch and the patch is still fine.

--
Matthew Slowe
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to