PR/59839 CVS commit: src
"Nia Alarie" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR pkg/59839; it has been noted by GNATS. From: "Nia Alarie" <[email protected]> To: [email protected] Cc: Subject: PR/59839 CVS commit: src Date: Thu, 8 Jan 2026 15:39:08 +0000 Module Name: src Committed By: nia Date: Thu Jan 8 15:39:08 UTC 2026 Modified Files: src/include/arpa: inet.h src/lib/libisns: isns_util.h src/lib/libm/src: math_private.h src/sys/fs/cd9660: iso.h src/sys/net: if_arp.h src/sys/netinet: tcp.h src/sys/sys: cdio.h core.h endian.h exec_aout.h types.h wait.h Log Message: Finally flip the switch and stop transcluding <machine/endian.h> from <sys/types.h> for userspace programs, since <sys/types.h> hasn't required it for many years. The inclusion results in significant namespace leakage, encourages non-portable #include practises, and was the original source of some cyclic header dependencies causing build failures in PR pkg/59839. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/include/arpa/inet.h cvs rdiff -u -r1.2 -r1.3 src/lib/libisns/isns_util.h cvs rdiff -u -r1.35 -r1.36 src/lib/libm/src/math_private.h cvs rdiff -u -r1.10 -r1.11 src/sys/fs/cd9660/iso.h cvs rdiff -u -r1.43 -r1.44 src/sys/net/if_arp.h cvs rdiff -u -r1.37 -r1.38 src/sys/netinet/tcp.h cvs rdiff -u -r1.34 -r1.35 src/sys/sys/cdio.h cvs rdiff -u -r1.12 -r1.13 src/sys/sys/core.h cvs rdiff -u -r1.38 -r1.39 src/sys/sys/endian.h src/sys/sys/wait.h cvs rdiff -u -r1.41 -r1.42 src/sys/sys/exec_aout.h cvs rdiff -u -r1.106 -r1.107 src/sys/sys/types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.