cvs: php4 /ext/standard string.c
| From: | Hartmut Holzgraefe | Date: | Sat, 17 Jun 2000 06:25:47 +0000 |
| Subject: | cvs: php4 /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-322@lists.php.net to get a copy of this message | ||
hholzgra Fri Jun 16 23:25:47 2000 EDT
Modified files:
/php4/ext/standard string.c
Log:
setlocale didn't recognize LC_MESSAGES (BUG ID#3957)
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.128 php4/ext/standard/string.c:1.129
--- php4/ext/standard/string.c:1.128 Mon Jun 12 09:06:27 2000
+++ php4/ext/standard/string.c Fri Jun 16 23:25:47 2000
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.128 2000/06/12 16:06:27 andrei Exp $ */
+/* $Id: string.c,v 1.129 2000/06/17 06:25:47 hholzgra Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2126,6 +2126,8 @@
cat = LC_COLLATE;
else if (!strcasecmp ("LC_CTYPE", category->value.str.val))
cat = LC_CTYPE;
+ else if (!strcasecmp ("LC_MESSAGES", category->value.str.val))
+ cat = LC_MESSAGES;
else if (!strcasecmp ("LC_MONETARY", category->value.str.val))
cat = LC_MONETARY;
else if (!strcasecmp ("LC_NUMERIC", category->value.str.val))