[haiku-commits] r37469 - haiku/branches/developer/zooey/posix-locale/src/system/libroot/posix/locale

  • From: zooey@xxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 11 Jul 2010 17:40:35 +0200 (CEST)

Author: zooey
Date: 2010-07-11 17:40:35 +0200 (Sun, 11 Jul 2010)
New Revision: 37469
Changeset: http://dev.haiku-os.org/changeset/37469/haiku

Modified:
   
haiku/branches/developer/zooey/posix-locale/src/system/libroot/posix/locale/ICUCategoryData.cpp
Log:
* explicitly use en_US_POSIX locale, not just US

Modified: 
haiku/branches/developer/zooey/posix-locale/src/system/libroot/posix/locale/ICUCategoryData.cpp
===================================================================
--- 
haiku/branches/developer/zooey/posix-locale/src/system/libroot/posix/locale/ICUCategoryData.cpp
     2010-07-11 15:36:37 UTC (rev 37468)
+++ 
haiku/branches/developer/zooey/posix-locale/src/system/libroot/posix/locale/ICUCategoryData.cpp
     2010-07-11 15:40:35 UTC (rev 37469)
@@ -91,7 +91,7 @@
 status_t
 ICUCategoryData::SetToPosix()
 {
-       fLocale = Locale::getUS();
+       fLocale = Locale::createFromName("en_US_POSIX");
        strcpy(fPosixLocaleName, "POSIX");
        strcpy(fGivenCharset, "us-ascii");
 


Other related posts:

  • » [haiku-commits] r37469 - haiku/branches/developer/zooey/posix-locale/src/system/libroot/posix/locale - zooey