* sigproc.cc (child_info::proc_retry): Mask all of the bits we're interested

in, which includes bits above and below 0xc0000000.
This commit is contained in:
Christopher Faylor 2006-05-29 00:21:58 +00:00
parent 67ffc3c415
commit eb285e115c
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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;