This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/locale newlocale.c freelocale.c duplocale.c
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 31 Aug 2002 20:08:01 -0000
- Subject: libc/locale newlocale.c freelocale.c duplocale.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2002-08-31 13:08:01
Modified files:
locale : newlocale.c freelocale.c duplocale.c
Log message:
2002-08-31 Roland McGrath <roland@redhat.com>
* locale/newlocale.c (__newlocale): Don't use strdup for names.
Instead, make the single allocation of the structure larger to hold
the name strings.
* locale/duplocale.c (__duplocale): Don't strdup names individually.
Instead, calculate size for a single allocation and copy into it.
* locale/freelocale.c (__freelocale): Don't free names individually.