[COMMITTED] Fix NEWS entry from 9bf8e29ca136

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[COMMITTED] Fix NEWS entry from 9bf8e29ca136

Adhemerval Zanella-2
        * NEWS: Move memory allocation changes of BZ#23741 from 2.29
        to 2.30 notes.
---
 ChangeLog |  5 +++++
 NEWS      | 12 ++++++------
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/NEWS b/NEWS
index db1ca8125b..63581b3618 100644
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,12 @@ Major new features:
 
 * The entry for the new Japanese era has been added for ja_JP locale.
 
+* Memory allocation functions malloc, calloc, realloc, reallocarray, valloc,
+  pvalloc, memalign, and posix_memalign fail now with total object size
+  larger than PTRDIFF_MAX.  This is to avoid potential undefined behavior with
+  pointer subtraction within the allocated object, where results might
+  overflow the ptrdiff_t type.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * The functions clock_gettime, clock_getres, clock_settime,
@@ -160,12 +166,6 @@ Deprecated and removed features, and other changes affecting compatibility:
   as all functions that call vscanf, vfscanf, or vsscanf are annotated with
   __attribute__ ((format (scanf, ...))).
 
-* Memory allocation functions malloc, calloc, realloc, reallocarray, valloc,
-  pvalloc, memalign, and posix_memalign fail now with total object size
-  larger than PTRDIFF_MAX.  This is to avoid potential undefined behavior with
-  pointer subtraction within the allocated object, where results might
-  overflow the ptrdiff_t type.
-
 Changes to build and runtime requirements:
 
 * Python 3.4 or later is required to build the GNU C Library.
--
2.17.1