mkoppanen                                Sat, 26 Dec 2009 14:54:34 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=292653

Log:
No need to duplicate the string here

Changed paths:
    U   php/php-src/trunk/ext/standard/streamsfuncs.c

Modified: php/php-src/trunk/ext/standard/streamsfuncs.c
===================================================================
--- php/php-src/trunk/ext/standard/streamsfuncs.c       2009-12-26 14:11:48 UTC 
(rev 292652)
+++ php/php-src/trunk/ext/standard/streamsfuncs.c       2009-12-26 14:54:34 UTC 
(rev 292653)
@@ -1691,7 +1691,7 @@
                        efree(resolved_path);
                        RETURN_UNICODEL(ustr, ulen, 0);
                } else {
-                       RETURN_STRINGL(resolved_path, strlen(resolved_path), 1);
+                       RETURN_STRINGL(resolved_path, strlen(resolved_path), 0);
                }
        }
        RETURN_FALSE;

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

Reply via email to