mike            Mon Jul 17 20:43:07 2006 UTC

  Modified files:              
    /php-src/ext/standard       string.c 
  Log:
  MFB52: 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.554&r2=1.555&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.554 php-src/ext/standard/string.c:1.555
--- php-src/ext/standard/string.c:1.554 Mon Jul 17 06:44:45 2006
+++ php-src/ext/standard/string.c       Mon Jul 17 20:43:07 2006
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: string.c,v 1.554 2006/07/17 06:44:45 tony2001 Exp $ */
+/* $Id: string.c,v 1.555 2006/07/17 20:43:07 mike Exp $ */
 
 /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
 
@@ -1730,7 +1730,12 @@
                                                state = 1;
                                        }
                                }
+                               break;
                        default:
+                               if (state == 0) {
+                                       comp = c;
+                                       state = 1;
+                               }
                                break;
                }
                c += inc_len;

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

Reply via email to