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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jc dot bertin at free dot fr
New email:
PHP Version: OS:

 

 [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-2019 The PHP Group
All rights reserved.
Last updated: Mon Nov 18 21:01:37 2019 UTC