PATCH: Add size and post time of the article to tape (backlog file).
Sergey Babitch
vinny at babitch.com
Thu Jul 8 18:41:57 UTC 2004
Hi, Russ!
On Thu, Jul 08, 2004 at 10:48:02AM -0700, Russ Allbery wrote:
> Sergey Babitch <vinny at babitch.com> writes:
>
> > For this purposes I need size and post time of the article in tape
> > (backlog file), and in internal data structure "struct article_s".
>
> > This patch gets size and posts time of the article from INN, and
> > inserts it to struct article_s and backlog file if innfeed funnel
> > master is set up like this:
>
> > innfeed!:!*:Tc,Wnmbp*:/usr/local/news/bin/startinnfeed
>
> > If innfeed funnel master is set up in the old way then nothing will change
> > in its behaviour.
>
> Can it still handle backlog files written by previous versions of innfeed?
Yes!
And innfeed funnel master setup may be switched to old and new
style at any time. New innfeed correct process mixed (old and new
style) backlog file.
For articles line in old format size and post time assume
zero value, and all features that use size and post time switch
to turn aff _FOR_THIS_ARTICLE_.
BTW I don't sent patches for features that use size and post
time now ;) Therefore innfeed just correct process mixed (old and
new style) backlog file.
New features take into consideration that backlog file
may be in old or new style. Or mixed...
If size and post time has zero value, they are not write
to backlog file. It make old style backlog file.
For example, if innfeed funnel master is set up like this:
innfeed!:!*:Tc,Wnm*:/usr/local/news/bin/startinnfeed
Consequently, backlog file may be switched to old style
at any time, if bug detected.
Several external programs may be don't understand new format.
In this case need switched to old style, and write bugreport.
I fix any bugs related size and post time in backlog file
in program from INN distribution.
But I have problem with fix documentation :(
> That's the only worry I have about this; other than that, it looks great.
It work at news2.lucky.net ;)
--
Good Luck! Sergey Babitch (SB551-RIPE) ICQ: 105517491 FreeLance Artist
More information about the inn-workers
mailing list