From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29010 invoked by alias); 11 May 2013 01:18:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 28964 invoked by uid 48); 11 May 2013 01:18:16 -0000 From: "roland.mainz at nrubsig dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/15459] New: RFE: Add |localeconv_l()| to allow porting of FreeBSD/OSX applications... Date: Sat, 11 May 2013 01:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: roland.mainz at nrubsig dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00085.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15459 Bug #: 15459 Summary: RFE: Add |localeconv_l()| to allow porting of FreeBSD/OSX applications... Product: glibc Version: unspecified Status: NEW Severity: enhancement Priority: P2 Component: libc AssignedTo: unassigned@sourceware.org ReportedBy: roland.mainz@nrubsig.org CC: drepper.fsp@gmail.com Classification: Unclassified RFE: Add |localeconv_l()| to allow porting of FreeBSD/OSX applications. |localeconv_l()| is the same as |localeconv()| but takes a pointer to a |locale_t| (see https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/localeconv_l.3.html) The function is needed so different locales can be used simultaneously in the same thread or different threads within shared libraries (|uselocale()| should not be used in such cases since it affects the current thread's locale settings (bad behaviour for a shared library) and there is no way to get/save/restore the currently used |locale_t| for a given thread (so even if |uselocale()| is used there is no way to restore the previous setting)). -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.