Bug #2964
need POSIX 2008 locale object support
100%
Description
Per request in the gnome developer list I file this bug here:
Gnome will require newlocale(), *_l() VERY apis soon
Gnome will soon require that all platforms support the following POSIX APIs, which are all not provided by Illumos libc. Developers will no longer be able to build Gnome after November 2012 without these:
newlocale()
duplocale()
freelocale()
strcasecmp_l()
strncasecmp_l()
uselocale()
wcscasecmp_l()
wcsncasecmp_l()
wcscoll_l()
wcsxfrm_l()
isw*_l(), like iswalpha_l()
Related issues
Updated by Igor Pashev over 8 years ago
Updated by Sebastian Feld over 8 years ago
Rationale is that multiple locales can exist simultaneously in a process, e.g. different threads run in different locales or a single thread operate on documents in different locales and so on. It also allows that locales can be handled and changed in a semi-threadsafe manner, i.e. setlocale() is global, affects the whole process and changing it is not threadsafe.
Updated by Garrett D'Amore over 8 years ago
- Subject changed from Gnome will require newlocale(), *_l() VERY apis soon to need POSIX 2008 locale object support
Updated by Electric Monk over 6 years ago
- Status changed from New to Closed
- % Done changed from 80 to 100
git commit 2d08521bd15501c8370ba2153b9cca4f094979d0
commit 2d08521bd15501c8370ba2153b9cca4f094979d0 Author: Garrett D'Amore <garrett@damore.org> Date: 2014-07-12T03:35:28.000Z 2964 need POSIX 2008 locale object support Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
Updated by Electric Monk over 6 years ago
git commit 0934fbd7017fd0754831e0ab14cdfc897809b881
commit 0934fbd7017fd0754831e0ab14cdfc897809b881 Author: Garrett D'Amore <garrett@damore.org> Date: 2014-07-15T22:33:54.000Z 2964 need POSIX 2008 locale object support (fix gcc)
Updated by Electric Monk over 6 years ago
git commit 732efd5515b5788339f3da4db04de7cea0f79c86
commit 732efd5515b5788339f3da4db04de7cea0f79c86 Author: Dan McDonald <danmcd@omniti.com> Date: 2014-07-16T13:45:02.000Z 2964 need POSIX 2008 locale object support (more C++ fixes)