NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
standards/37734: inappropriate tests against _XOPEN_SOURCE in some #include files
>Number: 37734
>Category: standards
>Synopsis: inappropriate tests against _XOPEN_SOURCE in some #include
>files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: standards-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 09 23:50:00 +0000 2008
>Originator: Steven M. Bellovin
>Release: NetBSD 4.99.34
>Organization:
>Environment:
System: NetBSD bigboy.machshav.com 4.99.34 NetBSD 4.99.34 (BIGBOY) #0: Sat Nov
3 16:52:15 EDT 2007
smb%bigboy.machshav.com@localhost:/usr/BUILD/obj/sys/arch/i386/compile/BIGBOY
i386
Architecture: i386
Machine: i386
>Description:
Several .h files -- at least stdlib.h, unistd.h, time.h, and wordexp.h
-- compare _XOPEN_SOURCE against 4. This is wrong. Open Group
standards
(http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html)
say it should be set to 600; the values listed in <sys/featuretest.h>
suggest that the intended value in thoses tests should be 400.
>How-To-Repeat:
See above.
>Fix:
See above.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index