http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41495
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-20 17:27:45 UTC --- Does OpenIndiana support the new POSIX.1-2008 APIs, e.g. wctype_l and towupper_l? If noone else does it I hope to get time to work on fixing the problems in the current code, but it's not a high priority for me. I think a better long term plan is to write a new locale model based on the POSIX 2008 API, as that could be common to more platforms and would provide thread-safety and the other advantages of the GNU/Linux code.