[svn:mod_parrot] r545 - mod_parrot/trunk/src
[email protected] Sat, 13 Dec 2008 07:32:50 -0800 (PST)
| Newsgroups | perl.cvs.mod_parrot |
|---|---|
| Message-ID | <[email protected]> |
Author: jhorwitz
Date: Sat Dec 13 07:32:49 2008
New Revision: 545
Modified:
mod_parrot/trunk/src/mod_parrot.c
Log:
increment version for upcoming release
add mod_parrot version component during post_config phase
Modified: mod_parrot/trunk/src/mod_parrot.c
==============================================================================
--- mod_parrot/trunk/src/mod_parrot.c (original)
+++ mod_parrot/trunk/src/mod_parrot.c Sat Dec 13 07:32:49 2008
@@ -37,7 +37,7 @@
#include "modparrot_config.h"
#include "modparrot_log.h"
-#define MODPARROT_VERSION "0.4"
+#define MODPARROT_VERSION "0.5"
#define NEXT_HANDLER_MODULE(x) (mpcfg->handler_modules[x] ? ((module **)mpcfg->module_array->elts)[((int *)mpcfg->handler_modules[x]->elts)[++(ctxp->module_index)]] : NULL);
@@ -531,6 +531,9 @@
{
modparrot_context *ctxp;
+ /* add our version component */
+ ap_add_version_component(pconf, "mod_parrot/" MODPARROT_VERSION);
+
/* initialize context */
if (!(ctxp = init_ctx(s, ptemp))) {
MPLOG_ERROR(s, "context initialization failed");