aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-14 00:35:23 +0200
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-20 19:14:36 +0200
commitc51f44045277fd3ab6f693d7485e7c259cf2d2ee (patch)
tree30c7d5b4c45fea29ab077c90ae001a654734d467 /shell
parent94bcbe2825f31ca957830baec5ae3994e29976cc (diff)
downloadbusybox-w32-c51f44045277fd3ab6f693d7485e7c259cf2d2ee.tar.gz
busybox-w32-c51f44045277fd3ab6f693d7485e7c259cf2d2ee.tar.bz2
busybox-w32-c51f44045277fd3ab6f693d7485e7c259cf2d2ee.zip
win32: ash: setsignal(): return early, signalling is not supported
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
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 */