|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-05 11:10 UTC] ilia at prohost dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 14:00:01 2025 UTC |
Description: ------------ Here is the patch! Enjoy! --- Fileinfo-0.2/fileinfo.c 2004-05-08 19:37:00.000000000 +0200 +++ Fileinfo-0.2-jc/fileinfo.c 2005-02-22 14:52:03.000000000 +0100 @@ -357,7 +357,7 @@ if (mode) { /* file */ /* determine if the file is a local file or remote URL */ char *tmp2; - php_stream_wrapper *wrap = php_stream_locate_url_wrapper(buffer, &tmp2, 0 TSRMLS_DC); + php_stream_wrapper *wrap = php_stream_locate_url_wrapper(buffer, &tmp2, 0 TSRMLS_CC); if (wrap && wrap->is_url) { #ifdef ZEND_ENGINE_2 php_stream_context *context = php_stream_context_from_zval(zcontext, 0);