moriyoshi               Tue Feb 18 13:14:32 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/ext/standard  string.c 
  Log:
  MFH(r1.359): Fixed bug #21708
  
  
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.333.2.15 php4/ext/standard/string.c:1.333.2.16
--- php4/ext/standard/string.c:1.333.2.15       Fri Feb 14 14:07:38 2003
+++ php4/ext/standard/string.c  Tue Feb 18 13:14:32 2003
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: string.c,v 1.333.2.15 2003/02/14 19:07:38 moriyoshi Exp $ */
+/* $Id: string.c,v 1.333.2.16 2003/02/18 18:14:32 moriyoshi Exp $ */
 
 /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
 
@@ -1876,7 +1876,7 @@
 
        *r = toupper((unsigned char) *r);
        for (r_end = r + Z_STRLEN_P(return_value) - 1; r < r_end; ) {
-               if (isspace((int) *r++)) {
+               if (isspace((int) *(unsigned char *)r++)) {
                        *r = toupper((unsigned char) *r);
                }
        }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to