This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15732] localeconv_l() not found
- From: "wendlin1974 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 12 Jul 2013 02:53:16 +0000
- Subject: [Bug libc/15732] localeconv_l() not found
- Auto-submitted: auto-generated
- References: <bug-15732-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15732
--- Comment #3 from Wendy Llin <wendlin1974 at gmail dot com> ---
(In reply to Jakub Jelinek from comment #2)
> Just use
> locale_t old = uselocale (l);
> res = localeinfo (...);
> uselocale (old);
> instead. It doesn't make sense to add *_l variant to every library function.
The workaround is useless. On OSX uselocale() is expensive (~ 200 times the
time of a single malloc(100)) and adding manual code to copy the data requires
a free function which requires a API redesign.
--
You are receiving this mail because:
You are on the CC list for the bug.