* exceptions.cc (sigpacket::process): Give sigwait() processing precedence even

when a handler is present.
* syscalls.cc (getpagesize): Change return to 'int'.
This commit is contained in:
Christopher Faylor 2009-09-18 21:27:02 +00:00
parent a7f0112577
commit 7b9f3ce02c
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2009-09-18 Christopher Faylor <me+cygwin@cgf.cx>
* exceptions.cc (sigpacket::process): Give sigwait() processing
precedence even when a handler is present.
* syscalls.cc (getpagesize): Change return to 'int'.
2009-09-16 Christopher Faylor <me+cygwin@cgf.cx> 2009-09-16 Christopher Faylor <me+cygwin@cgf.cx>
* ntea.c (write_ea): Don't abort if not-samba. * ntea.c (write_ea): Don't abort if not-samba.

View File

@ -1207,11 +1207,12 @@ sigpacket::process ()
insigwait_mask = false; insigwait_mask = false;
else if (tls) else if (tls)
insigwait_mask = sigismember (&tls->sigwait_mask, si.si_signo); insigwait_mask = sigismember (&tls->sigwait_mask, si.si_signo);
else if (!(tls = _cygtls::find_tls (si.si_signo)))
insigwait_mask = false;
else else
{ {
insigwait_mask = !handler && (tls = _cygtls::find_tls (si.si_signo));
if (tls)
use_tls = tls; use_tls = tls;
insigwait_mask = true;
} }
if (insigwait_mask) if (insigwait_mask)

View File

@ -2056,7 +2056,7 @@ getdtablesize ()
return cygheap->fdtab.size > OPEN_MAX ? cygheap->fdtab.size : OPEN_MAX; return cygheap->fdtab.size > OPEN_MAX ? cygheap->fdtab.size : OPEN_MAX;
} }
extern "C" size_t extern "C" int
getpagesize () getpagesize ()
{ {
if (!system_info.dwAllocationGranularity) if (!system_info.dwAllocationGranularity)