]> git.pld-linux.org Git - packages/php.git/blame - php-5.2.17-bug-52624.patch
use /usr/sbin/php-fpm as other branches
[packages/php.git] / php-5.2.17-bug-52624.patch
CommitLineData
82f6b657
ER
1diff -up php-5.2.17/ext/standard/file.c.bug-52624 php-5.2.17/ext/standard/file.c
2--- php-5.2.17/ext/standard/file.c.bug-52624 2012-01-12 11:20:05.000000000 +0700
3+++ php-5.2.17/ext/standard/file.c 2012-01-12 11:21:32.000000000 +0700
4@@ -842,7 +842,7 @@ PHP_FUNCTION(tempnam)
5 p[63] = '\0';
6 }
7
8- if ((fd = php_open_temporary_fd(d, p, &opened_path TSRMLS_CC)) >= 0) {
9+ if ((fd = php_open_temporary_fd_ex(d, p, &opened_path,1 TSRMLS_CC)) >= 0) {
10 close(fd);
11 RETVAL_STRING(opened_path, 0);
12 } else {
This page took 0.042687 seconds and 4 git commands to generate.