php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch bug62839.patch.txt for Testing related Bug #63103

Patch version 2012-09-17 20:15 UTC

Return to Bug #63103 | Download this patch
Patch Revisions:

Developer: mattficken

--- a/ext/curl/tests/bug62839.phpt	Wed Sep 12 09:20:26 2012
+++ b/ext/curl/tests/bug62839.phpt	Mon Sep 17 12:46:10 2012
@@ -7,7 +7,7 @@
 <?php
 $curl = curl_init();
 
-$fd = fopen('/tmp/test', 'wb');
+$fd = fopen(tempnam(".", "bug62839"), 'wb');
 curl_setopt($curl, CURLOPT_FILE, $fd);
 
 curl_copy_handle($curl);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 15:01:30 2024 UTC