summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-01-05 22:25:34 +0000
committerCorinna Vinschen <corinna@vinschen.de>2002-01-05 22:25:34 +0000
commitfcb76c5dcb8f99207c876b64d12891945795596f (patch)
treecf45d246db5f1d88287bd66167405192dc0fde64 /winsup/cygwin/exceptions.cc
parent2edba2368adaf2e3dca43b92ab35ba81b07eba7b (diff)
downloadcygnal-fcb76c5dcb8f99207c876b64d12891945795596f.tar.gz
cygnal-fcb76c5dcb8f99207c876b64d12891945795596f.tar.bz2
cygnal-fcb76c5dcb8f99207c876b64d12891945795596f.zip
exceptions.cc (sig_handle): Set default action for SIGURG to SIG_IGN.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index a9481167b..0304a4249 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -996,7 +996,8 @@ sig_handle (int sig)
if (handler == (void *) SIG_DFL)
{
- if (sig == SIGCHLD || sig == SIGIO || sig == SIGCONT || sig == SIGWINCH)
+ if (sig == SIGCHLD || sig == SIGIO || sig == SIGCONT || sig == SIGWINCH
+ || sig == SIGURG)
{
sigproc_printf ("default signal %d ignored", sig);
goto done;