Hi,
    Visual Studio (and I think some other compilers) like to
have variables declared up front. This diff

===========================================================
Index: src/modules/perl/mod_perl.c
===================================================================
RCS file: /home/cvspublic/modperl-2.0/src/modules/perl/mod_perl.c,v
retrieving revision 1.147
diff -u -r1.147 mod_perl.c
--- src/modules/perl/mod_perl.c 23 Jan 2003 00:31:28 -0000      1.147
+++ src/modules/perl/mod_perl.c 23 Jan 2003 01:48:50 -0000
@@ -754,6 +754,7 @@
     GV *h_stdin, *h_stdout;
     int retval;
     MP_dRCFG;
+    apr_status_t rc;
 #ifdef USE_ITHREADS
     pTHX;
     modperl_interp_t *interp;
@@ -806,7 +807,7 @@
 #endif
 
     /* flush output buffer after interpreter is putback */
-    apr_status_t rc = modperl_response_finish(r);
+    rc = modperl_response_finish(r);
     if (rc != APR_SUCCESS) {
         retval = rc;
     }
=============================================================
does this for src/modules/perl/mod_perl.c.

-- 
best regards,
randy


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

Reply via email to