Bug #2964
need POSIX 2008 locale object support
Status: | Closed | Start date: | 2012-07-04 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | % Done: | 100% | ||
Category: | locale - data and messages | |||
Target version: | - | |||
Difficulty: | Hard | Tags: |
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
History
#1
Updated by Igor Pashev over 6 years ago
#2
Updated by Sebastian Feld over 6 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.
#3
Updated by Garrett D'Amore over 6 years ago
- Subject changed from Gnome will require newlocale(), *_l() VERY apis soon to need POSIX 2008 locale object support
#4
Updated by Garrett D'Amore over 4 years ago
- % Done changed from 0 to 80
#5
Updated by Electric Monk over 4 years ago
- % Done changed from 80 to 100
- Status changed from New to Closed
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>
#6
Updated by Electric Monk over 4 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)
#7
Updated by Electric Monk over 4 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)
Also available in: Atom