ohill           Thu Jul 31 14:20:41 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/standard       string.c 
  Log:
  Fix regression issue
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.69.2.32&r2=1.445.2.14.2.69.2.33&diff_format=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.445.2.14.2.69.2.32 
php-src/ext/standard/string.c:1.445.2.14.2.69.2.33
--- php-src/ext/standard/string.c:1.445.2.14.2.69.2.32  Tue Jul 22 01:10:58 2008
+++ php-src/ext/standard/string.c       Thu Jul 31 14:20:40 2008
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: string.c,v 1.445.2.14.2.69.2.32 2008/07/22 01:10:58 scottmac Exp $ */
+/* $Id: string.c,v 1.445.2.14.2.69.2.33 2008/07/31 14:20:40 ohill Exp $ */
 
 /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
 
@@ -4104,10 +4104,6 @@
                return;
        }
 
-       if (!arglen) {
-               return;
-       }
-
        res = estrndup(arg, arglen);
 
        if (arrayArg == NULL) {



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

Reply via email to