diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-08-11 13:00:57 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-08-11 13:01:51 -0700 |
commit | 6a3bdcfda683b4f06ff839f14bf9fc4d32188502 (patch) | |
tree | 68bbc231f4189bacfcf8ae3098d07fc6cca8c082 /ChangeLog | |
parent | 1221876a7aec2a59c824a9784f5ff24e96f5545b (diff) | |
download | gnulib-6a3bdcfda683b4f06ff839f14bf9fc4d32188502.tar.gz |
dynarray: merge from glibc
This also helps document glibc’s direction in using GCC’s
memory-allocation checking.
* lib/cdefs.h: Omit comments that glibc rejected.
(__returns_nonnull, __attr_access_none, __attr_dealloc)
(__attr_dealloc_free): New macros.
* lib/libc-config.h: Undef the new macros that are defined
unconditionally.
* lib/malloc/dynarray_at_failure.c [_LIBC]: Do not include stdlib.h.
(__libc_dynarray_at_failure) [_LIBC]: Call __libc_fatal,
fixing a bad merge previously.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +2021-08-11 Paul Eggert <eggert@cs.ucla.edu> + + dynarray: merge from glibc + This also helps document glibc’s direction in using GCC’s + memory-allocation checking. + * lib/cdefs.h: Omit comments that glibc rejected. + (__returns_nonnull, __attr_access_none, __attr_dealloc) + (__attr_dealloc_free): New macros. + * lib/libc-config.h: Undef the new macros that are defined + unconditionally. + * lib/malloc/dynarray_at_failure.c [_LIBC]: Do not include stdlib.h. + (__libc_dynarray_at_failure) [_LIBC]: Call __libc_fatal, + fixing a bad merge previously. + 2021-08-08 Bruno Haible <bruno@clisp.org> canonicalize-lgpl: Fix conflict with z/OS <sys/stat.h>. |