php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24051 2 problems with MCVE extension, with fixes
Submitted: 2003-06-05 21:52 UTC Modified: 2003-06-06 01:17 UTC
From: noahg at wpbc dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4CVS-2003-06-05 (stable) OS: Linux
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:
MUST BE VALID
Solve the problem:
46 - 12 = ?
Subscribe to this entry?

 
 [2003-06-05 21:52 UTC] noahg at wpbc dot net
The MCVE extension has two minor problems:

1. It will not compile as a shared library due to ext/mcve/mcve.c line 144:
ZEND_GET_MODULE(mcve)
should be:
ZEND_GET_MODULE(php_mcve)

2. The test is broken due to ext/mcve/tests/001.phpt line 4:
if (!extension_loaded("MCVE")) print "skip";
should be:
if (!extension_loaded("mcve")) print "skip";

I'm working on a very slow machine and cannot follow the patch instructions... I hope this is enough for someone to fix the problem / submit a patch. If this is the wrong place to submit this problem, let me know.

Thanks,
Noah Gintis.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-06 01:17 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 00:01:34 2024 UTC