ovgrouppat problems
mailing-inn at stevel.twbbs.org
mailing-inn at stevel.twbbs.org
Tue Mar 7 20:30:09 UTC 2000
Hi,
I upgrade to a recent snapshot(2000-03-06) of INN from an
old version and happen to see an option called 'ovgrouppat'.
The manpage of inn.conf reveals that it is a newsfeeds-like
wildmat list and the overview entries will be stored only
when they match ovgrouppat.
When I use makehistory to generate the history and overview
out of an existing CNFS spool, it always comes to err(and then
coredump) when ovgrouppat is set. But if ovgrouppat is unset,
makehistory works gracefully.
The error messages emitted by makehistory are of a kind:
makehistory: Can't write overview data "@030243594330320000000000819200000001@"
My INN configuration:
smmethod: CNFS
ovmethod: tradindexed
groupbasedexpiry: false
useoverchan: true
ovgrouppat: xxx.yyy.*
Does anybody have successful experiences with 'ovgrouppat'?
IMO, there may be a bug in OVadd (in storage/ov.c), though
I can't figure out what OVadd is exactly doing.
I suspect that addresses of different memory areas are messed up,
e.g. 'next' points to somewhere in 'data'(the 2nd argument
to OVadd) while 'patcheck' points to a dynamically-allocated
memory; it seems next-patcheck is meaningless.
===8<============
if (innconf->ovgrouppat != NULL) {
memcpy(patcheck, next, xreflen);
patcheck[xreflen] = '\0';
for (group = patcheck; group && *group; group = memchr(next, ' ', next - patcheck)) {
while (isspace((int)*group))
group++;
if ((next = memchr(group, ':', xreflen - (group - xrefdata))) == NULL)
===8<============
More information about the inn-workers
mailing list