]> granicus.if.org Git - php/commitdiff
Request #69489
authorXinchen Hui <laruence@gmail.com>
Tue, 21 Apr 2015 14:19:56 +0000 (22:19 +0800)
committerAnatol Belski <ab@php.net>
Thu, 9 Jun 2016 15:19:40 +0000 (17:19 +0200)
main/php_open_temporary_file.c

index b21f3ab10de4703b760ba0174b57fa64a4ae1392..ee752b98ff6096a0b2dd3ca380b9ec2982aeface 100644 (file)
@@ -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;