mike            Mon Jul 17 20:36:47 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/standard       string.c 
    /php-src    NEWS 
  Log:
  - fix bug #37945 pathinfo() cannot handle argument with special characters
    like german "Umlaute"
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.7&r2=1.445.2.14.2.8&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.445.2.14.2.7 
php-src/ext/standard/string.c:1.445.2.14.2.8
--- php-src/ext/standard/string.c:1.445.2.14.2.7        Mon Jul 17 06:45:08 2006
+++ php-src/ext/standard/string.c       Mon Jul 17 20:36:46 2006
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: string.c,v 1.445.2.14.2.7 2006/07/17 06:45:08 tony2001 Exp $ */
+/* $Id: string.c,v 1.445.2.14.2.8 2006/07/17 20:36:46 mike Exp $ */
 
 /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
 
@@ -1173,7 +1173,12 @@
                                                state = 1;
                                        }
                                }
+                               break;
                        default:
+                               if (state == 0) {
+                                       comp = c;
+                                       state = 1;
+                               }
                                break;
                }
                c += inc_len;
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.126&r2=1.2027.2.547.2.127&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.126 php-src/NEWS:1.2027.2.547.2.127
--- php-src/NEWS:1.2027.2.547.2.126     Sun Jul 16 15:03:53 2006
+++ php-src/NEWS        Mon Jul 17 20:36:47 2006
@@ -102,6 +102,8 @@
   private constructors from invalid context). (Tony)
 - Fixed bug #37987 (invalid return of file_exists() in safe mode). (Ilia)
 - Fixed bug #37947 (zend_ptr_stack reallocation problem). (Dmitry)
+- Fixed bug #37945 (pathinfo() cannot handle argument with special characters
+  like german "Umlaute"). (Mike)
 - Fixed bug #37931 (possible crash in OCI8 after database restart 
   when using persistent connections). (Tony)
 - Fixed bug #37920 (compilation problems on z/OS). (Tony)

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

Reply via email to