php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56329 Compile error with zend
Submitted: 2005-02-25 13:23 UTC Modified: 2005-04-05 11:10 UTC
From: jc dot bertin at free dot fr Assigned:
Status: Closed Package: Fileinfo (PECL)
PHP Version: 4.3.10 OS: linux 2.6.10, gcc 3.3.5
Private report: No CVE-ID: None
 [2005-02-25 13:23 UTC] jc dot bertin at free dot fr
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);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-05 11:10 UTC] ilia at prohost dot org
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 07:01:28 2024 UTC