]> granicus.if.org Git - php/commitdiff
Make tempnam() return FALSE on error as documented
authorIlia Alshanetsky <iliaa@php.net>
Thu, 24 Sep 2009 18:59:28 +0000 (18:59 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 24 Sep 2009 18:59:28 +0000 (18:59 +0000)
ext/standard/file.c

index c7fc97ce1532f4b92f372864bede9b3d2cb441b5..133e4b727109e5bd213c35d40636e9bf7b6b38f3 100644 (file)
@@ -1018,6 +1018,7 @@ PHP_FUNCTION(popen)
        }
 
        efree(p);
+       RETURN_FALSE;
 }
 /* }}} */