Author: stas
Date: Fri Jul 8 12:05:32 2005
New Revision: 209857
URL: http://svn.apache.org/viewcvs?rev=209857&view=rev
Log:
perl blead fix: "%vd" doesn't work anymore
Modified:
perl/modperl/trunk/src/modules/perl/mod_perl.c
Modified: perl/modperl/trunk/src/modules/perl/mod_perl.c
URL:
http://svn.apache.org/viewcvs/perl/modperl/trunk/src/modules/perl/mod_perl.c?rev=209857&r1=209856&r2=209857&view=diff
==============================================================================
--- perl/modperl/trunk/src/modules/perl/mod_perl.c (original)
+++ perl/modperl/trunk/src/modules/perl/mod_perl.c Fri Jul 8 12:05:32 2005
@@ -695,9 +695,17 @@
}
#endif
+#if PERL_REVISION == 5 && PERL_VERSION < 9
+#define MP_PERL_VERSION_STAMP "Perl/v%vd"
+#else
+#define MP_PERL_VERSION_STAMP "Perl/%" SVf
+#endif
+
ap_add_version_component(pconf, MP_VERSION_STRING);
ap_add_version_component(pconf,
- Perl_form(aTHX_ "Perl/v%vd", PL_patchlevel));
+ Perl_form(aTHX_ MP_PERL_VERSION_STAMP,
+ PL_patchlevel));
+
modperl_mgv_hash_handlers(pconf, s);
modperl_modglobal_hash_keys(aTHX);
modperl_env_hash_keys(aTHX);