From 722b937b8f85d9d2ae51d4fc327391be829963e7 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 24 Sep 2009 18:59:28 +0000 Subject: [PATCH] Make tempnam() return FALSE on error as documented --- ext/standard/file.c | 1 + 1 file changed, 1 insertion(+) 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; } /* }}} */ -- 2.50.1