This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/15459] New: RFE: Add |localeconv_l()| to allow porting of FreeBSD/OSX applications...


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]