Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-08-22 21:01:53 +0400
committerChristopher Faylor <me@cgf.cx>2003-08-22 21:01:53 +0400
commit29cd21d03ad15cedef5c9d1e9770b8491bf9dfc4 (patch)
treebfe5bc3a9eb5cfe9f5154ebadace89225bc04063 /winsup/cygwin
parent01d699914d19eb64222f5eb0364071f18a1d77d3 (diff)
* exceptions.cc (sig_handle): Change so that default signals indicate success.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/exceptions.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 87921e928..3fed94d14 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-22 Christopher Faylor <cgf@redhat.com>
+
+ * exceptions.cc (sig_handle): Change so that default signals indicate
+ success.
+
2003-08-21 Christopher Faylor <cgf@redhat.com>
* sigproc.cc (wait_sig): Remove redundant test in do/while.
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index cff5719cf..e99751714 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -992,7 +992,7 @@ set_process_mask (sigset_t newmask)
int __stdcall
sig_handle (int sig)
{
- int rc = 0;
+ int rc = 1;
sigproc_printf ("signal %d", sig);