From: Xinchen Hui Date: Tue, 21 Apr 2015 14:19:56 +0000 (+0800) Subject: Request #69489 X-Git-Tag: php-7.1.0alpha3~42^2~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=978f74a848ef91e53e8a80d9a14a07565cecc895;p=php Request #69489 --- diff --git a/main/php_open_temporary_file.c b/main/php_open_temporary_file.c index b21f3ab10d..ee752b98ff 100644 --- a/main/php_open_temporary_file.c +++ b/main/php_open_temporary_file.c @@ -276,6 +276,7 @@ def_tmp: 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;