innreport cyles only 1 report in inn2.2.1
Dave Shrimpton
shrimpto at its.uq.edu.au
Tue Jun 13 23:19:10 UTC 2000
My apologies if you already know about this one:
innreport in inn 2.2.1 only cycles the news-notice.*.html
files and not innd_connect.* , innfeed_connect.* ... in the
"pics" directory.
The bug is due to /o switch being used in the pattern match in
the Rotate function, causing only the first filename
called with to be matched. Therefore only news-notice.*.html
is cycled and the other filenames are ignored.
A possible fix:
# diff -c innreport innreport.dist
*** innreport Tue Jun 13 17:46:12 2000
--- innreport.dist Mon Oct 25 17:20:26 1999
***************
*** 635,641 ****
$SEPARATOR # Separator : ":"
\d\d # Second : 29
$suffix # Suffix : ".html"
! $/x);
$files{$file}++;
}
closedir (DIR);
--- 635,641 ----
$SEPARATOR # Separator : ":"
\d\d # Second : 29
$suffix # Suffix : ".html"
! $/xo);
$files{$file}++;
}
closedir (DIR);
--
David Shrimpton Systems Programmer
Software Infrastructure, Information Technology Services
University of Qld 4072 shrimpto at its.uq.edu.au
Brisbane Australia Phone 61 7 3365 7408
More information about the inn-bugs
mailing list