--- gforth/engine/signals.c 2003/02/17 22:42:09 1.25 +++ gforth/engine/signals.c 2003/03/09 15:17:03 1.27 @@ -1,6 +1,6 @@ /* signal handling - Copyright (C) 1995,1996,1997,1998,2000 Free Software Foundation, Inc. + Copyright (C) 1995,1996,1997,1998,2000,2003 Free Software Foundation, Inc. This file is part of Gforth. @@ -112,6 +112,14 @@ signal_throw(int sig) #endif default: code=-256-sig; break; } +#ifdef __CYGWIN__ + /* the SA_NODEFER apparently does not work on Cygwin 1.3.18(0.69/3/2) */ + { + sigset_t emptyset; + sigemptyset(&emptyset); + sigprocmask(SIG_SETMASK, &emptyset, NULL); + } +#endif longjmp(throw_jmp_buf,code); /* !! or use siglongjmp ? */ }