From: Ilia Alshanetsky Date: Thu, 24 Sep 2009 18:59:28 +0000 (+0000) Subject: Make tempnam() return FALSE on error as documented X-Git-Tag: php-5.2.12RC1~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=722b937b8f85d9d2ae51d4fc327391be829963e7;p=php Make tempnam() return FALSE on error as documented --- diff --git a/ext/standard/file.c b/ext/standard/file.c index c7fc97ce15..133e4b7271 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1018,6 +1018,7 @@ PHP_FUNCTION(popen) } efree(p); + RETURN_FALSE; } /* }}} */