svn: /php/php-src/trunk/ext/standard/ streamsfuncs.c

From: Date: Sat, 26 Dec 2009 14:54:34 +0000
Subject: svn: /php/php-src/trunk/ext/standard/ streamsfuncs.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-61428@lists.php.net to get a copy of this message
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;

« previous php.cvs (#61428) next »