2002-08-31 Roland McGrath <roland@redhat.com>
authorroland <roland>
Sat, 31 Aug 2002 20:08:01 +0000 (20:08 +0000)
committerroland <roland>
Sat, 31 Aug 2002 20:08:01 +0000 (20:08 +0000)
commit66010992b7d90b4e3191b3541f4cf6a7bf2e9c1f
treeed2aeff4f2030ee76228aa30cdfcf49eef055b32
parent0e4d8cbac90c4454ce86563a1b66f7c0c70dbd28
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.
locale/duplocale.c
locale/freelocale.c
locale/newlocale.c