diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-14 00:35:23 +0200 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-10 19:46:33 +1000 |
commit | c571730238486ed5a55a162a9eb0de7c38929757 (patch) | |
tree | 39524cf15c80029f8a89345422736940b8db075a | |
parent | 88b0930dc4d278c9b906bacf7dec7a13f5ee0497 (diff) | |
download | busybox-w32-c571730238486ed5a55a162a9eb0de7c38929757.tar.gz busybox-w32-c571730238486ed5a55a162a9eb0de7c38929757.tar.bz2 busybox-w32-c571730238486ed5a55a162a9eb0de7c38929757.zip |
win32: ash: setsignal(): return early, signalling is not supported
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index ab935e72a..d6e44633a 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -3301,6 +3301,8 @@ setsignal(int signo) | |||
3301 | char cur_act, new_act; | 3301 | char cur_act, new_act; |
3302 | struct sigaction act; | 3302 | struct sigaction act; |
3303 | 3303 | ||
3304 | if (ENABLE_PLATFORM_MINGW32) | ||
3305 | return; | ||
3304 | t = trap[signo]; | 3306 | t = trap[signo]; |
3305 | new_act = S_DFL; | 3307 | new_act = S_DFL; |
3306 | if (t != NULL) { /* trap for this sig is set */ | 3308 | if (t != NULL) { /* trap for this sig is set */ |