Bug #17833 Updated: sapi/apache2filter/php_functions.c does not compile
| From: | sniper@php.net | Date: | Wed, 19 Jun 2002 12:29:32 +0000 |
| Subject: | Bug #17833 Updated: sapi/apache2filter/php_functions.c does not compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11375@lists.php.net to get a copy of this message | ||
ID: 17833
Updated by: sniper@php.net
Reported By: jguilla@attglobal.net
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux RH 7.2
PHP Version: 4.2.1
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version 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.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-06-19 08:22:27] jguilla@attglobal.net
Hmmm... I've named the directories to diff incorrectly, but the patch
is correct: MODULE_MAGIC_AT_LEAST doesn't work,
AP_MODULE_MAGIC_AT_LEAST *seems* to work.
------------------------------------------------------------------------
[2002-06-19 08:19:21] jguilla@attglobal.net
Hi,
I seems that the latest version of Apache2 (2.0.39) just issued brokes
the compilation of sapi/apache2filter/php_functions.c. It seems like
the macro MODULE_MAGIC_AT_LEAST has been obsoleted. I've looked at the
apache 2 header files and found that ap_mnh.h defines
MODULE_MAGIC_AT_LEAST as garbage. It seems that the macro to use now is
AP_MODULE_MAGIC_AT_LEAST. I've modified the source and it seems to
compile and run OK, but I'm not neither an apache nor php hacker, so
perhaps the "fix" is not complete or is incorrect at all. Please take
into account that 2.0.39 has been release to fix a vulnerability, so
the issue has to be reviewed by someone whith more knowledge than me.
Perhaps you'll find useful this output from diff -U2:
--- php-4.2.1/sapi/apache2filter/php_functions.c Sat May 11
11:49:54 2002
+++ php-4.2.1-old/sapi/apache2filter/php_functions.c Wed Jun 19
13:29:27 2002
@@ -91,5 +91,5 @@
ADD_LONG(mtime);
ADD_LONG(clength);
-#if !MODULE_MAGIC_AT_LEAST(20020506,0)
+#if !AP_MODULE_MAGIC_AT_LEAST(20020506,0)
ADD_STRING(boundary);
#endif
Keep up that great work!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17833&edit=1