aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-15 12:52:31 +1000
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-15 16:17:18 +1000
commit53c5d85398dd61c52a3f82e4aca2094115c201e3 (patch)
tree4c094abe0f5e0b535626b6f2a265c179a54bbbd1
parent28c65da05b29f34f2ed3e35821ad8549eb143e19 (diff)
downloadbusybox-w32-53c5d85398dd61c52a3f82e4aca2094115c201e3.tar.gz
busybox-w32-53c5d85398dd61c52a3f82e4aca2094115c201e3.tar.bz2
busybox-w32-53c5d85398dd61c52a3f82e4aca2094115c201e3.zip
win32: enable kill and killall
-rw-r--r--procps/kill.c2
-rw-r--r--scripts/defconfig.mingw324
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)
50 goto do_it_now; 50 goto do_it_now;
51 } 51 }
52 52
53#if !ENABLE_PLATFORM_MINGW32
53 /* The -l option, which prints out signal names. 54 /* The -l option, which prints out signal names.
54 * Intended usage in shell: 55 * Intended usage in shell:
55 * echo "Died of SIG`kill -l $?`" 56 * echo "Died of SIG`kill -l $?`"
@@ -115,6 +116,7 @@ int kill_main(int argc, char **argv)
115 } 116 }
116 arg = *++argv; 117 arg = *++argv;
117 argc--; 118 argc--;
119#endif /* ENABLE_PLATFORM_MINGW32 */
118 120
119 do_it_now: 121 do_it_now:
120 pid = getpid(); 122 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=""
845# CONFIG_SMEMCAP is not set 845# CONFIG_SMEMCAP is not set
846# CONFIG_FREE is not set 846# CONFIG_FREE is not set
847# CONFIG_FUSER is not set 847# CONFIG_FUSER is not set
848# CONFIG_KILL is not set 848CONFIG_KILL=y
849# CONFIG_KILLALL is not set 849CONFIG_KILLALL=y
850# CONFIG_KILLALL5 is not set 850# CONFIG_KILLALL5 is not set
851# CONFIG_NMETER is not set 851# CONFIG_NMETER is not set
852# CONFIG_PGREP is not set 852# CONFIG_PGREP is not set