Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#811 nested includes prematurely closed

open
nobody
None
5
2012-10-11
2010-06-12
Sergey Kirpichev
No

When using nested includes in awstats configuration files, all lines
BELOW each include line are ignored (except for the include lines in
the top level configuration file). This bug has been reported here:

http://sourceforge.net/tracker/index.php?func=detail&aid=1408271&group_id=13764&atid=113764

The problem is that a global filehandle is being used for all the
include files. When the lowest level include file is closed it
actually closes all the other include files as well, even though they
have not been completely read in.

A more simple fix is described here (and detailed scenario that illustrates when the bug occurs):
http://bugs.debian.org/575545

Discussion

  • Added/Fixed in CVS tree. Will be available in next version.