Problems post sprintf->snprintf conversion

Russ Allbery rra at
Tue Aug 20 06:15:18 UTC 2002

Kiernan, Alex <alexk at> writes:

> Anyone seeing anything like this in there logs (Solaris 8):

> "Aug 19 00:38:01 innd: [ID 903239 news.warning]
> closed seconds 3845 accepted 7769 refused 0 rejected
> 57 duplicate 53 accepted size "

> Where the accepted size (and all the following fields) are missing?

> I've looked at the change and it looks entirely reasonable. 

Haven't updated to the new innd yet; I'm hoping to do that this week.  I
checked those changes by inspection, I fear, rather than extensive running
of the code.

That's a really weird place for it to break the line.  It's 14 characters
in, so it shouldn't be a sizeof problem.  If you're on Solaris 8, you'll
be using the version that comes with INN; if you run make test, does it
pass all its tests?  One of them does test %.0f formats, which are being
used here.

Russ Allbery (rra at             <>

    Please send questions to the list rather than mailing me directly.
     <> explains why.

More information about the inn-workers mailing list