svn: /php/php-src/ branches/PHP_5_2/ext/standard/file.c branches/PHP_5_3/ext/standard/file.c trunk/ext/standard/file.c

From: Date: Thu, 24 Sep 2009 18:59:28 +0000
Subject: svn: /php/php-src/ branches/PHP_5_2/ext/standard/file.c branches/PHP_5_3/ext/standard/file.c trunk/ext/standard/file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-60512@lists.php.net to get a copy of this message
iliaa Thu, 24 Sep 2009 18:59:28 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288679 Log: Make tempnam() return FALSE on error as documented Changed paths: U php/php-src/branches/PHP_5_2/ext/standard/file.c U php/php-src/branches/PHP_5_3/ext/standard/file.c U php/php-src/trunk/ext/standard/file.c Modified: php/php-src/branches/PHP_5_2/ext/standard/file.c =================================================================== --- php/php-src/branches/PHP_5_2/ext/standard/file.c 2009-09-24 18:45:09 UTC (rev 288678) +++ php/php-src/branches/PHP_5_2/ext/standard/file.c 2009-09-24 18:59:28 UTC (rev 288679) @@ -1018,6 +1018,7 @@ } efree(p); + RETURN_FALSE; } /* }}} */ Modified: php/php-src/branches/PHP_5_3/ext/standard/file.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/standard/file.c 2009-09-24 18:45:09 UTC (rev 288678) +++ php/php-src/branches/PHP_5_3/ext/standard/file.c 2009-09-24 18:59:28 UTC (rev 288679) @@ -860,6 +860,7 @@ RETVAL_STRING(opened_path, 0); } efree(p); + RETURN_FALSE; } /* }}} */ Modified: php/php-src/trunk/ext/standard/file.c =================================================================== --- php/php-src/trunk/ext/standard/file.c 2009-09-24 18:45:09 UTC (rev 288678) +++ php/php-src/trunk/ext/standard/file.c 2009-09-24 18:59:28 UTC (rev 288679) @@ -977,6 +977,7 @@ efree(opened_path); } efree(p); + RETURN_FALSE; } /* }}} */

« previous php.cvs (#60512) next »