[Patch] Modperl-Registry .cvsignore

2003-01-25 Thread Philippe M. Chiasson
A few leftovers generated files ;-)


--- /dev/null   2002-08-31 07:31:37.0 +0800
+++ ModPerl-Registry/t/cgi-bin/.cvsignore   2003-01-25 17:19:29.0 +0800
@@ -0,0 +1 @@
+subprocess.pl

Index: ModPerl-Registry/t/.cvsignore
===
RCS file: /home/cvspublic/modperl-2.0/ModPerl-Registry/t/.cvsignore,v
retrieving revision 1.2
diff -u -b -B -r1.2 .cvsignore
--- ModPerl-Registry/t/.cvsignore   18 Oct 2001 04:25:12 -  1.2
+++ ModPerl-Registry/t/.cvsignore   25 Jan 2003 09:20:02 -
@@ -1,3 +1,4 @@
 logs
 htdocs
 TEST
+subprocess.t




Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5
(122FF51B/C634E37B)
http://gozer.ectoplasm.org/F9BF E0C2 480E 7680 1AE5 3631 CB32 A107
88C3 A5A5
Q: It is impossible to make anything foolproof because fools are so
ingenious.
perl
-e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}'


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




Re: [Patch] Modperl-Registry .cvsignore

2003-01-25 Thread Stas Bekman
Philippe M. Chiasson wrote:

A few leftovers generated files ;-)


subprocess.pl? where did you get it from?


--- /dev/null	2002-08-31 07:31:37.0 +0800
+++ ModPerl-Registry/t/cgi-bin/.cvsignore	2003-01-25 17:19:29.0 +0800
@@ -0,0 +1 @@
+subprocess.pl

Index: ModPerl-Registry/t/.cvsignore
===
RCS file: /home/cvspublic/modperl-2.0/ModPerl-Registry/t/.cvsignore,v
retrieving revision 1.2
diff -u -b -B -r1.2 .cvsignore
--- ModPerl-Registry/t/.cvsignore	18 Oct 2001 04:25:12 -	1.2
+++ ModPerl-Registry/t/.cvsignore	25 Jan 2003 09:20:02 -
@@ -1,3 +1,4 @@
 logs
 htdocs
 TEST
+subprocess.t




Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5
(122FF51B/C634E37B)
http://gozer.ectoplasm.org/F9BF E0C2 480E 7680 1AE5 3631 CB32 A107
88C3 A5A5
Q: It is impossible to make anything foolproof because fools are so
ingenious.
perl
-e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}'


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



--


__
Stas BekmanJAm_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]




[mp2] loading modules for testing

2003-01-25 Thread Randy Kobes
With the current cvs mod_perl 2.0, I get a problem about
deciding which modules to load from the installed httpd.conf.
This patch

=
Index: Apache-Test/lib/Apache/TestConfigParse.pm
===
RCS file: 
/home/cvspublic/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm,v
retrieving revision 1.28
diff -u -r1.28 TestConfigParse.pm
--- Apache-Test/lib/Apache/TestConfigParse.pm   23 Jan 2003 04:06:38 -  1.28
+++ Apache-Test/lib/Apache/TestConfigParse.pm   26 Jan 2003 02:33:42 -
@@ -86,7 +86,7 @@
 
 #XXX mod_jk requires JkWorkerFile or JkWorker to be configured
 #skip it for now, tomcat has its own test suite anyhow.
-my %skip_modules = map { $_, 1 } qw(mod_jk.c);
+my %skip_modules = map { $_, 1 } qw(mod_jk.c mod_perl.c);
 
 # add modules to be not inherited from the existing config.
 # e.g. prevent from LoadModule perl_module to be included twice, when
@@ -121,7 +121,7 @@
 
 $name = $modname_alias{$name} if $modname_alias{$name};
 
-unless ($self->should_skip_module($name)) {
+if ($self->should_skip_module($name)) {
 debug "Skipping LoadModule of $name";
 next;
 }
=

The s/unless/if/ I think is just a typo? The other one
about adding mod_perl.c to %skip_modules I'm not sure -
it appears to be handled from config_parse_skip_module_add,
but without the above patch the installed mod_perl.so is
used, rather than the one just built in the sources.

-- 
best regards,
randy


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




Re: [mp2] loading modules for testing

2003-01-25 Thread Stas Bekman
Randy Kobes wrote:

With the current cvs mod_perl 2.0, I get a problem about
deciding which modules to load from the installed httpd.conf.
This patch


Thanks Randy for pointing this out. I was trying to resolve the same bug for 
t/conf/httpd.conf created in sub-dirs, but broke it for the main server. 
Please try again with the current cvs, it should work.

__
Stas BekmanJAm_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]



Re: [mp2] loading modules for testing

2003-01-25 Thread Randy Kobes
On Sun, 26 Jan 2003, Stas Bekman wrote:

> Randy Kobes wrote:
> > With the current cvs mod_perl 2.0, I get a problem about
> > deciding which modules to load from the installed httpd.conf.
> > This patch
> 
> Thanks Randy for pointing this out. I was trying to resolve the
> same bug for t/conf/httpd.conf created in sub-dirs, but broke
> it for the main server.  Please try again with the current cvs,
> it should work.

Thanks, Stas - it works fine now ... 

-- 
best regards,
randy


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