Re: abort() on Windows 2008 Server

2008-10-20 Thread Bruno Haible
Eric Blake wrote: > > int > > sigfillset (sigset_t *set) > > { > > ! *set = ((2U << (NSIG - 1)) - 1) > > !#ifdef SIGABRT_COMPAT > > !& ~(1U << SIGABRT_COMPAT) > > !#endif > > !; > > However, I'm not the biggest fan of #ifdef inside a statement. Maybe a > helper macro would

Re: abort() on Windows 2008 Server

2008-10-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 10/18/2008 3:37 PM: > > Thanks for this analysis. The sigset_t datatype introduced by gnulib has > to be adjusted. I propose this patch. Eric, what do you think? Generally looks okay to me. > int > sigfillset (sigset

Re: abort() on Windows 2008 Server

2008-10-18 Thread Bruno Haible
Hi Eric, Thanks for the forward. Ramiro Polla wrote: > > The loop at sigprocmask.c:197 tests signal() on all signals up to NSIG > > for SIG_ERR. On some version of Windows (I haven't checked which one, > > but it affects Windows 2008 Server), a new signal has been added. It > > is the SIGABRT_COM

Re: abort() on Windows 2008 Server

2008-10-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ramiro Polla on 10/18/2008 10:55 AM: Hello Ramiro, and thanks for the report. > Hello, > > GNU m4 1.4.12 abort()s running on Windows 2008 Server. It doesn't go > further than setting the signal handlers, so any call to m4.exe will > fai