NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/55577 CVS commit: [netbsd-10] src/sys/sys



The following reply was made to PR standards/55577; it has been noted by GNATS.

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/55577 CVS commit: [netbsd-10] src/sys/sys
Date: Fri, 11 Oct 2024 18:51:21 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Fri Oct 11 18:51:21 UTC 2024
 
 Modified Files:
 	src/sys/sys [netbsd-10]: featuretest.h
 
 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #949):
 
 	sys/sys/featuretest.h: revision 1.13
 
 sys/featuretest.h: Define _POSIX_C_SOURCE according to _XOPEN_SOURCE.
 
 If _XOPEN_SOURCE is defined but _POSIX_C_SOURCE is not, there is a
 corresponding value of _POSIX_C_SOURCE that _XOPEN_SOURCE is supposed
 to be equivalent to.  We could sprinkle conditionals for
 _XOPEN_SOURCE everywhere we already have conditionals for
 _POSIX_C_SOURCE, like in <locale.h>, but it's simpler and more
 reliable to simply define _POSIX_C_SOURCE based on _XOPEN_SOURCE in
 one place.
 
 PR standards/55577: locale_t not defined if _XOPEN_SOURCE is defined
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.10 -r1.10.66.1 src/sys/sys/featuretest.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index