From 53c5d85398dd61c52a3f82e4aca2094115c201e3 Mon Sep 17 00:00:00 2001 From: Nguyễn Thái Ngọc Duy Date: Wed, 15 Sep 2010 12:52:31 +1000 Subject: win32: enable kill and killall --- procps/kill.c | 2 ++ scripts/defconfig.mingw32 | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/procps/kill.c b/procps/kill.c index b51d44a70..3da39f030 100644 --- a/procps/kill.c +++ b/procps/kill.c @@ -50,6 +50,7 @@ int kill_main(int argc, char **argv) goto do_it_now; } +#if !ENABLE_PLATFORM_MINGW32 /* The -l option, which prints out signal names. * Intended usage in shell: * echo "Died of SIG`kill -l $?`" @@ -115,6 +116,7 @@ int kill_main(int argc, char **argv) } arg = *++argv; argc--; +#endif /* ENABLE_PLATFORM_MINGW32 */ do_it_now: pid = getpid(); diff --git a/scripts/defconfig.mingw32 b/scripts/defconfig.mingw32 index 7f5cbc574..b60e05b48 100644 --- a/scripts/defconfig.mingw32 +++ b/scripts/defconfig.mingw32 @@ -845,8 +845,8 @@ CONFIG_FEATURE_MIME_CHARSET="" # CONFIG_SMEMCAP is not set # CONFIG_FREE is not set # CONFIG_FUSER is not set -# CONFIG_KILL is not set -# CONFIG_KILLALL is not set +CONFIG_KILL=y +CONFIG_KILLALL=y # CONFIG_KILLALL5 is not set # CONFIG_NMETER is not set # CONFIG_PGREP is not set -- cgit v1.2.3-55-g6feb