From 8dd398c6a3f1c364635de4528fb169ad0a3116ab Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Tue, 21 Apr 2015 22:19:56 +0800 Subject: [PATCH] Request #69489 --- main/php_open_temporary_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/php_open_temporary_file.c b/main/php_open_temporary_file.c index a88c823eedba9..439e5e47e7314 100644 --- a/main/php_open_temporary_file.c +++ b/main/php_open_temporary_file.c @@ -287,6 +287,7 @@ PHPAPI int php_open_temporary_fd_ex(const char *dir, const char *pfx, zend_strin fd = php_do_open_temporary_file(dir, pfx, opened_path_p); if (fd == -1) { /* Use default temporary directory. */ + php_error_docref(NULL, E_NOTICE, "file created in the system's temporary directory"); goto def_tmp; } return fd;