This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: <signal.h> broken with _POSIX_SOURCE=1 defined


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]