|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
16 - 6 = ?
Subscribe to this entry?

 [2005-02-25 13:23 UTC] jc dot bertin at free dot fr
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);


Add a Patch

Pull Requests

Add a Pull Request


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

In case this was a 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 Jun 14 11:01:34 2024 UTC