Re: SIGPOLL on Darwin

2012-01-31 Thread Reuben Thomas
On 31 January 2012 21:18, Bruno Haible wrote: > Reuben Thomas wrote: >> (SIGPOLL is mandated by POSIX). > > This is not true. Look at > > In the table, SIGPOLL is marked with OB and XSR. >  - [OB] means obsolescent. >  - [XSR

Re: SIGPOLL on Darwin

2012-01-31 Thread Bruno Haible
Reuben Thomas wrote: > (SIGPOLL is mandated by POSIX). This is not true. Look at In the table, SIGPOLL is marked with OB and XSR. - [OB] means obsolescent. - [XSR] means XSI STREAMS. This is an optional part of POSIX that

Re: SIGPOLL on Darwin

2012-01-31 Thread Reuben Thomas
On 31 January 2012 15:51, Paul Eggert wrote: > On 01/31/2012 07:19 AM, Reuben Thomas wrote: >> SIGPOLL seems to be unimplemented on Darwin > > I don't offhand see an easy way to implement it in Gnulib, > so perhaps it's better that Gnulib doesn't define it. > (Sorry, I don't know the context.) I

Re: SIGPOLL on Darwin

2012-01-31 Thread bastien ROUCARIES
Le Tuesday 31 January 2012 16:19:54, Reuben Thomas a écrit : > gnulib's extensions module turns on _DARWIN_C_SOURCE on Darwin. > Unfortunately, this means that SIGPOLL is not defined, and hence stops > POSIX-compliant code from building (SIGPOLL is mandated by POSIX). As > extensions is required by

Re: SIGPOLL on Darwin

2012-01-31 Thread Paul Eggert
On 01/31/2012 07:19 AM, Reuben Thomas wrote: > SIGPOLL seems to be unimplemented on Darwin I don't offhand see an easy way to implement it in Gnulib, so perhaps it's better that Gnulib doesn't define it. (Sorry, I don't know the context.) > gnulib does not define _POSIX_C_SOURCE on Darwin, which

SIGPOLL on Darwin

2012-01-31 Thread Reuben Thomas
gnulib's extensions module turns on _DARWIN_C_SOURCE on Darwin. Unfortunately, this means that SIGPOLL is not defined, and hence stops POSIX-compliant code from building (SIGPOLL is mandated by POSIX). As extensions is required by some quite basic modules (the project I have in mind uses only manyw