com php-src: Request #69489: main/php_open_temporary_file .c
| From: | Anatol Belski | Date: | Thu, 09 Jun 2016 15:19:40 +0000 |
| Subject: | com php-src: Request #69489: main/php_open_temporary_file .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92341@lists.php.net to get a copy of this message | ||
Commit: 978f74a848ef91e53e8a80d9a14a07565cecc895
Author: Xinchen Hui <laruence@gmail.com> Tue, 21 Apr 2015 22:19:56 +0800
Committer: Anatol Belski <ab@php.net> Thu, 9 Jun 2016 17:19:40 +0200
Parents: b4ca066455a970e661d16c7296648d919fd84fc0
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=978f74a848ef91e53e8a80d9a14a07565cecc895
Log:
Request #69489
Bugs:
https://bugs.php.net/69489
Changed paths:
M main/php_open_temporary_file.c
Diff:
diff --git a/main/php_open_temporary_file.c b/main/php_open_temporary_file.c
index b21f3ab..ee752b9 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;