com php-src: Fixed Bug #63103 (ext\curl\tests\bug62839.phpt broken): ext/curl/tests/bug62839.phpt
| From: | Xinchen Hui | Date: | Tue, 18 Sep 2012 02:46:58 +0000 |
| Subject: | com php-src: Fixed Bug #63103 (ext\curl\tests\bug62839.phpt broken): ext/curl/tests/bug62839.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70188@lists.php.net to get a copy of this message | ||
Commit: e66a5ce56fc9be74096e0d0452a1172c8130752c
Author: Xinchen Hui <laruence@php.net> Tue, 18 Sep 2012 10:46:58 +0800
Parents: eb881a1dd1d0b50e304556f854ec5d66e79ef50b
Branches: PHP-5.3
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e66a5ce56fc9be74096e0d0452a1172c8130752c
Log:
Fixed Bug #63103 (ext\curl\tests\bug62839.phpt broken)
Bugs:
https://bugs.php.net/63103
https://bugs.php.net/62839
Changed paths:
M ext/curl/tests/bug62839.phpt
Diff:
diff --git a/ext/curl/tests/bug62839.phpt b/ext/curl/tests/bug62839.phpt
index 39e6fc9..e6988d6 100644
--- a/ext/curl/tests/bug62839.phpt
+++ b/ext/curl/tests/bug62839.phpt
@@ -7,7 +7,7 @@ Bug #62839 (curl_copy_handle segfault with CURLOPT_FILE)
<?php
$curl = curl_init();
-$fd = fopen('/tmp/test', 'wb');
+$fd = tmpfile();
curl_setopt($curl, CURLOPT_FILE, $fd);
curl_copy_handle($curl);