diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-08 21:19:43 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-08 21:19:43 -0500 |
commit | ec09c1c410d40386ec3e5d2d82fc5c378b4b2681 (patch) | |
tree | 2189714f7efcfc502ddef885c7c1d541eae6684c /ChangeLog | |
parent | aebae0537dcb408100b88c6b7647a7e858c43237 (diff) | |
download | glibc-ec09c1c410d40386ec3e5d2d82fc5c378b4b2681.tar glibc-ec09c1c410d40386ec3e5d2d82fc5c378b4b2681.tar.gz glibc-ec09c1c410d40386ec3e5d2d82fc5c378b4b2681.tar.bz2 glibc-ec09c1c410d40386ec3e5d2d82fc5c378b4b2681.zip |
Optimize xmalloc, xcalloc, xrealloc, and xstrdup
Add alloc_size attribute and apply consistently the malloc attribute
to xmalloc, xcalloc, xrealloc, and xstrdup.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,21 @@ +2012-01-08 Ulrich Drepper <drepper@gmail.com> + + * include/sys/cdefs.h: Define __attribute_alloc_size. + * catgets/gencat.c: Add alloc_size attribute and apply consistently + the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup. + * elf/pldd.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/iconvconfig.c: Likewise. + * iconv/strtab.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.h: Likewise. + * locale/programs/simple-hash.c: Likewise. + * nscd/nscd.h: Likewise. + * nss/makedb.c: Likewise. + * sysdeps/generic/ldconfig.h: Likewise. + * locale/programs/localedef.c: Remove xmalloc prototype. + * nscd/mem.c: Remove xmalloc and xcalloc prototypes. + 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com> * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when |