sniper Fri Jun 6 02:17:02 2003 EDT Modified files: /php4/ext/mcve mcve.c php_mcve.h /php4/ext/mcve/tests 001.phpt Log: Fixed bug #24051: shared build and test Index: php4/ext/mcve/mcve.c diff -u php4/ext/mcve/mcve.c:1.16 php4/ext/mcve/mcve.c:1.17 --- php4/ext/mcve/mcve.c:1.16 Tue May 20 09:59:03 2003 +++ php4/ext/mcve/mcve.c Fri Jun 6 02:17:01 2003 @@ -39,7 +39,7 @@ /* {{{ extension definition structures */ static unsigned char second_arg_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE }; -function_entry php_mcve_functions[] = { +function_entry mcve_functions[] = { PHP_FE(mcve_initengine, NULL) PHP_FE(mcve_initconn, NULL) PHP_FE(mcve_deleteresponse, NULL) @@ -120,12 +120,12 @@ { NULL, NULL, NULL } }; -zend_module_entry php_mcve_module_entry = { +zend_module_entry mcve_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "mcve", /* module name */ - php_mcve_functions, /* struct of functions (see above) */ + mcve_functions, /* struct of functions (see above) */ PHP_MINIT(mcve), /* module initialization functions */ NULL, /* module shutdown functions */ NULL, /* request initialization functions */ Index: php4/ext/mcve/php_mcve.h diff -u php4/ext/mcve/php_mcve.h:1.7 php4/ext/mcve/php_mcve.h:1.8 --- php4/ext/mcve/php_mcve.h:1.7 Tue Dec 31 11:06:56 2002 +++ php4/ext/mcve/php_mcve.h Fri Jun 6 02:17:01 2003 @@ -20,9 +20,9 @@ #ifndef _PHP_MCVE_H #define _PHP_MCVE_H -extern zend_module_entry php_mcve_module_entry; +extern zend_module_entry mcve_module_entry; -#define mcve_module_ptr &php_mcve_module_entry +#define mcve_module_ptr &mcve_module_entry #define phpext_mcve_ptr mcve_module_ptr #define PHP_MCVE_VERSION "3.0" Index: php4/ext/mcve/tests/001.phpt diff -u php4/ext/mcve/tests/001.phpt:1.1 php4/ext/mcve/tests/001.phpt:1.2 --- php4/ext/mcve/tests/001.phpt:1.1 Wed Feb 27 14:46:58 2002 +++ php4/ext/mcve/tests/001.phpt Fri Jun 6 02:17:01 2003 @@ -1,7 +1,7 @@ --TEST-- Check for mcve presence --SKIPIF-- -<?php if (!extension_loaded("MCVE")) print "skip"; ?> +<?php if (!extension_loaded("mcve")) print "skip"; ?> --POST-- --GET-- --FILE--
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php