This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: <signal.h> broken with _POSIX_SOURCE=1 defined
- To: smurf@noris.de (Matthias Urlichs)
- Subject: Re: <signal.h> broken with _POSIX_SOURCE=1 defined
- From: Zack Weinberg <zack@rabi.columbia.edu>
- Date: Mon, 02 Nov 1998 22:13:56 -0500
- cc: libc-hacker@cygnus.com
On 3 Nov 1998 01:09:01 +0100, Matthias Urlichs wrote:
> Andreas Jaeger <aj@arthur.rhein-neckar.de> writes:
>>
>> This small program shows the broken behaviour with the current glibc
>> 2.1 cvs sources:
>> #define _POSIX_SOURCE 1
>> #include <signal.h>
>> int main(void) { ;}
>>
>IMHO, we should have a testcase which does this for all legal values of
>_FOO_SOURCE (i.e. including "none" and "a few unlikely combinations") and
><bar.h> (i.e. all except those in */bits/*).
There are 2^18 combinations of __USE_FOO macros and C dialect
switches. Only about 11,000 of those are accessible to the user
through _FOO_SOURCE defines, but that's still ridiculously large.
Anyone have an idea what would be a sensible subset?
zw