[Pkg-awstats-devel] Bug#292529: Issue still exists
Michal Čihař
michal at cihar.com
Thu May 11 16:18:23 UTC 2006
Package: awstats
Version: 6.5-2
Followup-For: Bug #292529
This issue is still there. More important is that this warning makes it
ignore nested configs.
This can be fixed by completely removing nesting test code, which does
nothing useful on Debian as it has more recent Perl. I'm attaching patch
to do this.
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-1-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages awstats depends on:
ii perl [libstorable-perl] 5.8.8-4 Larry Wall's Practical Extraction
Versions of packages awstats recommends:
ii libnet-xwhois-perl 0.90-1 Whois Client Interface for Perl5
-- no debconf information
-------------- next part --------------
--- /tmp/awstats.pl 2006-05-11 18:11:43.000000000 +0200
+++ /usr/lib/cgi-bin/awstats.pl 2006-05-11 18:11:52.000000000 +0200
@@ -1199,10 +1199,6 @@
# Correct relative include files
if ($FileConfig =~ /^(.*[\\\/])[^\\\/]*$/) { $includeFile = "$1$includeFile"; }
}
- if ($level > 1) {
- warning("Warning: Perl versions before 5.6 cannot handle nested includes");
- next;
- }
if ( open( CONFIG_INCLUDE, $includeFile ) ) {
&Parse_Config( *CONFIG_INCLUDE , $level+1, $includeFile);
close( CONFIG_INCLUDE );
More information about the Pkg-awstats-devel
mailing list