Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl-cvs

svn commit: r782471 - /perl/modperl/branches/1.x/src/modules/perl/mod_perl.c

 

 

ModPerl modperl-cvs RSS feed   Index | Next | Previous | View Threaded


pgollucci at apache

Jun 7, 2009, 2:58 PM

Post #1 of 1 (849 views)
Permalink
svn commit: r782471 - /perl/modperl/branches/1.x/src/modules/perl/mod_perl.c

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);

ModPerl modperl-cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.