aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2018-02-07 15:45:58 -0500
committerZack Weinberg <zackw@panix.com>2018-02-12 07:34:50 -0500
commite16deca62e16f645213dffd4ecd1153c37765f17 (patch)
treeb86b60ce878fbe35438ab5ef915b5c9feaf40b50 /NEWS
parentde800d83059dbedb7d151580f0a3bdc9eaf37340 (diff)
downloadglibc-e16deca62e16f645213dffd4ecd1153c37765f17.zip
glibc-e16deca62e16f645213dffd4ecd1153c37765f17.tar.gz
glibc-e16deca62e16f645213dffd4ecd1153c37765f17.tar.bz2
[BZ #19239] Don't include sys/sysmacros.h from sys/types.h.
This completes the deprecation and removal of this inclusion, which was begun in the 2.25 release. * posix/sys/types.h: Don't include sys/sysmacros.h. * misc/sys/sysmacros.h: Remove the conditional deprecation warnings for the macros defined by this header.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS11
1 files changed, 11 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5678031..60dd2f7 100644
--- a/NEWS
+++ b/NEWS
@@ -28,6 +28,17 @@ Deprecated and removed features, and other changes affecting compatibility:
investigate using (f)getc_unlocked and (f)putc_unlocked, and, if
necessary, flockfile and funlockfile.
+ * The macros 'major', 'minor', and 'makedev' are now only available from
+ the header <sys/sysmacros.h>; not from <sys/types.h> or various other
+ headers that happen to include <sys/types.h>. These macros are rarely
+ used, not part of POSIX nor XSI, and their names frequently collide with
+ user code; see https://sourceware.org/bugzilla/show_bug.cgi?id=19239 for
+ further explanation.
+
+ <sys/sysmacros.h> is a GNU extension. Portable programs that require
+ these macros should first include <sys/types.h>, and then include
+ <sys/sysmacros.h> if __GNU_LIBRARY__ is defined.
+
Changes to build and runtime requirements:
[Add changes to build and runtime requirements here]