Skip to content

Commit e2d1eec

Browse files
committed
Merge branch 'PHP-5.3' into PHP-5.4
2 parents d0ab22e + e66a5ce commit e2d1eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/curl/tests/bug62839.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Bug #62839 (curl_copy_handle segfault with CURLOPT_FILE)
77
<?php
88
$curl = curl_init();
99

10-
$fd = fopen('/tmp/test', 'wb');
10+
$fd = tmpfile();
1111
curl_setopt($curl, CURLOPT_FILE, $fd);
1212

1313
curl_copy_handle($curl);

0 commit comments

Comments
 (0)