Bug #17833: sapi/apache2filter/php_functions.c does not compile
| From: | jguilla at attglobal dot net | Date: | Wed, 19 Jun 2002 12:19:22 +0000 |
| Subject: | Bug #17833: sapi/apache2filter/php_functions.c does not compile | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-11369@lists.php.net to get a copy of this message | ||
From: jguilla@attglobal.net
Operating system: Linux RH 7.2
PHP version: 4.2.1
PHP Bug Type: Compile Failure
Bug description: sapi/apache2filter/php_functions.c does not compile
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 bug report at http://bugs.php.net/?id=17833&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17833&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17833&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17833&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17833&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17833&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17833&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17833&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17833&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17833&r=globals