From cfa888eb571d92d4de02b406f0dad15e4fa26d19 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sat, 25 Jul 2020 12:48:13 +0100 Subject: win32: code shrink kill(2) - Drop exit_code argument from kill_SIGTERM_by_handle() - Pass signal number rather than exit code to other functions - Merge kill_SIGKILL() and kill_SIGTEST() Saves 112 bytes. --- coreutils/timeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') diff --git a/coreutils/timeout.c b/coreutils/timeout.c index 1a9660183..06c134a37 100644 --- a/coreutils/timeout.c +++ b/coreutils/timeout.c @@ -52,7 +52,7 @@ HANDLE child = INVALID_HANDLE_VALUE; static void kill_child(void) { if (child != INVALID_HANDLE_VALUE) { - kill_SIGTERM_by_handle(child, 128+SIGTERM); + kill_SIGTERM_by_handle(child); } } #endif -- cgit v1.2.3-55-g6feb