perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r782471 - /perl/modperl/branches/1.x/src/modules/perl/mod_perl.c
Date Sun, 07 Jun 2009 21:58:48 GMT
Author: pgollucci
Date: Sun Jun  7 21:58:47 2009
New Revision: 782471

URL: http://svn.apache.org/viewvc?rev=782471&view=rev
Log:
cleanup style and add comment

Requested by:   gozer

Modified:
    perl/modperl/branches/1.x/src/modules/perl/mod_perl.c

Modified: perl/modperl/branches/1.x/src/modules/perl/mod_perl.c
URL: http://svn.apache.org/viewvc/perl/modperl/branches/1.x/src/modules/perl/mod_perl.c?rev=782471&r1=782470&r2=782471&view=diff
==============================================================================
--- perl/modperl/branches/1.x/src/modules/perl/mod_perl.c (original)
+++ perl/modperl/branches/1.x/src/modules/perl/mod_perl.c Sun Jun  7 21:58:47 2009
@@ -593,10 +593,15 @@
 #endif
 }
 
+/*
+ * XXX: temp_argv is required to work around a bug in gcc
+ *      present in at least FreeBSD 7.x which causes
+ *      sefaults during mod_perl startup.
+ */
 void perl_startup (server_rec *s, pool *p)
 {
     char *argv[] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL };
-    char **temp_argv=argv;
+    char **temp_argv = argv;
     char **entries, *dstr;
     int status, i, argc=1;
     dPSRV(s);



Mime
View raw message