Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   riastradh
Date:           Wed Oct 30 15:56:12 UTC 2024

Modified Files:
        src/include: langinfo.h monetary.h nl_types.h regex.h
        src/sys/arch/alpha/include: fenv.h
        src/sys/arch/arm/include: float.h
        src/sys/arch/hppa/include: float.h
        src/sys/arch/ia64/include: fenv.h limits.h
        src/sys/arch/m68k/include: fenv.h float.h
        src/sys/arch/mips/include: fenv.h float.h
        src/sys/arch/or1k/include: float.h
        src/sys/arch/powerpc/include: fenv.h
        src/sys/arch/riscv/include: float.h
        src/sys/arch/sh3/include: fenv.h
        src/sys/arch/sparc/include: float.h
        src/sys/arch/vax/include: math.h
        src/sys/sys: common_limits.h epoll.h ttycom.h

Log Message:
Sprinkle <sys/featuretest.h> where _*_SOURCE macros are consulted.

Otherwise, the feature tests might come out wrong.  For example,
header files that check for _NETBSD_SOURCE won't get the default when
no other _*_SOURCE macros are defined; header files that check for
_POSIX_C_SOURCE might miss _XOPEN_SOURCE, which is supposed to imply
a corresponding _POSIX_C_SOURCE.

PR lib/58752: various header files test _*_SOURCE macros but don't
include sys/featuretest.h


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/include/langinfo.h
cvs rdiff -u -r1.4 -r1.5 src/include/monetary.h
cvs rdiff -u -r1.13 -r1.14 src/include/nl_types.h
cvs rdiff -u -r1.16 -r1.17 src/include/regex.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/alpha/include/fenv.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/include/float.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/hppa/include/float.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/ia64/include/fenv.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/ia64/include/limits.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/m68k/include/fenv.h
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/m68k/include/float.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/mips/include/fenv.h
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/mips/include/float.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/or1k/include/float.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/powerpc/include/fenv.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/include/float.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sh3/include/fenv.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/sparc/include/float.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/vax/include/math.h
cvs rdiff -u -r1.3 -r1.4 src/sys/sys/common_limits.h
cvs rdiff -u -r1.2 -r1.3 src/sys/sys/epoll.h
cvs rdiff -u -r1.22 -r1.23 src/sys/sys/ttycom.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