Commit:    e66a5ce56fc9be74096e0d0452a1172c8130752c
Author:    Xinchen Hui <larue...@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);


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to