Thread View: news.software.nntp
2 messages
2 total messages
Started by Ben Rosengart
Mon, 18 Feb 2002 20:33
listgroup oddity
Author: Ben Rosengart
Date: Mon, 18 Feb 2002 20:33
Date: Mon, 18 Feb 2002 20:33
21 lines
1370 bytes
1370 bytes
Some users of mine are reporting strange output from the "listgroup" command. Some article numbers have an extra ^M after them in the listing, e.g. article 45131 in one of our local groups: 45129^M 45130^M 45131^M^M 45132^M 45133^M We're using INN 2.3.2. The groups that people are reporting problems with are stored on tradspool, but there may be similar problems with groups stored on cnfs, we just haven't seen it yet. Any idea what this could be? -- Ben Rosengart (212) 741-4400 x215 "For values of 'whatever'."
Re: listgroup oddity
Author: Russ Allbery
Date: Sun, 10 Mar 2002 01:23
Date: Sun, 10 Mar 2002 01:23
40 lines
2351 bytes
2351 bytes
Ben Rosengart <br@panix.com> writes:
> Some users of mine are reporting strange output from the "listgroup"
> command. Some article numbers have an extra ^M after them in the
> listing, e.g. article 45131 in one of our local groups:
> 45129^M
> 45130^M
> 45131^M^M
> 45132^M
> 45133^M
> We're using INN 2.3.2. The groups that people are reporting problems
> with are stored on tradspool, but there may be similar problems with
> groups stored on cnfs, we just haven't seen it yet.
> Any idea what this could be?
I have no idea what could possibly be up with that. I also don't see any
way for the code to generate that behavior; the LISTGROUP results are
generated by a pretty straightforward loop:
Reply("%d Article list follows\r\n", NNTP_GROUPOK_VAL);
while (OVsearch(handle, &i, NULL, NULL, &token, NULL)) {
if (PERMaccessconf->nnrpdcheckart && !ARTinstorebytoken(token))
continue;
Printf("%ld\r\n", i);
}
OVclosesearch(handle);
Printf(".\r\n");
I don't see how the %ld format could ever not produce some sort of number
even if really weird things where happening to i.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads