aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-05-29 00:21:58 +0000
committerChristopher Faylor <me@cgf.cx>2006-05-29 00:21:58 +0000
commiteb285e115c40cdb3c7d74a68379f05137559934c (patch)
treed8edfecf29a492e1898d0aa93e0f661d83a749ba /winsup
parent67ffc3c415ba6bdf0811212154a8ddaa92c5f6c4 (diff)
downloadnewlib-eb285e115c40cdb3c7d74a68379f05137559934c.zip
newlib-eb285e115c40cdb3c7d74a68379f05137559934c.tar.gz
newlib-eb285e115c40cdb3c7d74a68379f05137559934c.tar.bz2
* sigproc.cc (child_info::proc_retry): Mask all of the bits we're interested
in, which includes bits above and below 0xc0000000.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/sigproc.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 7a964d4..eeab045 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-28 Christopher Faylor <cgf@timesys.com>
+
+ * sigproc.cc (child_info::proc_retry): Mask all of the bits we're
+ interested in, which includes bits above and below 0xc0000000.
+
2006-05-27 Christopher Faylor <cgf@timesys.com>
* dll_init.cc (dll_dllcrt0): Previous change didn't work very well with
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 5de0762..be0d91c 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -922,7 +922,7 @@ child_info::proc_retry (HANDLE h)
/* Count down non-recognized exit codes more quickly since they aren't
due to known conditions. */
default:
- if (!iscygwin () && (exit_code & 0xc0000000) != 0xc0000000)
+ if (!iscygwin () && (exit_code & 0xffff0000) != 0xc0000000)
break;
if ((retry -= 2) < 0)
retry = 0;