diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-15 12:52:31 +1000 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-15 16:17:18 +1000 |
commit | 53c5d85398dd61c52a3f82e4aca2094115c201e3 (patch) | |
tree | 4c094abe0f5e0b535626b6f2a265c179a54bbbd1 | |
parent | 28c65da05b29f34f2ed3e35821ad8549eb143e19 (diff) | |
download | busybox-w32-53c5d85398dd61c52a3f82e4aca2094115c201e3.tar.gz busybox-w32-53c5d85398dd61c52a3f82e4aca2094115c201e3.tar.bz2 busybox-w32-53c5d85398dd61c52a3f82e4aca2094115c201e3.zip |
win32: enable kill and killall
-rw-r--r-- | procps/kill.c | 2 | ||||
-rw-r--r-- | 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) | |||
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 | 848 | CONFIG_KILL=y |
849 | # CONFIG_KILLALL is not set | 849 | CONFIG_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 |