Randy Kobes wrote:
With the current mp2 sources, a couple of variables in
modperl_mgv.c need to be declared earlier for Win32:
========================================
Index: src/modules/perl/modperl_mgv.c
===================================================================
RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_mgv.c,v
retrieving revision 1.28
diff -u -r1.28 modperl_mgv.c
--- src/modules/perl/modperl_mgv.c      15 Dec 2003 03:13:36 -0000      1.28
+++ src/modules/perl/modperl_mgv.c      15 Dec 2003 15:41:29 -0000
@@ -185,9 +185,9 @@
 static void package2filename(apr_pool_t *p, const char *package,
                              char **filename, int *len)
 {
-    *filename = apr_palloc(p, (strlen(package)+4)*sizeof(char));
     const char *s;
     char *d;
+    *filename = apr_palloc(p, (strlen(package)+4)*sizeof(char));

     for (s = package, d = *filename; *s; s++, d++) {
         if (*s == ':' && s[1] == ':') {
====================================================================

Thanks Randy, Philippe has committed this one already. In the future just go ahead and commit this kind of things.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to