controlchan testing

Marco d'Itri md at Linux.IT
Tue May 8 18:10:54 UTC 2001


On May 08, Russ Allbery <rra at stanford.edu> wrote:

 >Looks like newgroup.pl is assuming that it can rename from $inn::tmpdir to
 >the database directory, which probably isn't a good assumption.  (I keep
 >the history file on a separate partition.)  My preference for a fix is
 >probably to write the new newsgroups file into the same directory as the
 >current one instead.  Unless there are objections, I can go do that.
Agreed, I wonder why I did not do it this way.

 >As near as I can tell, what happened to the other two fr.* newgroup
 >messages was that they had already been written by INN to controlchan and
 >then controlchan exited due to the above error and threw them away?  Not
May be. In my new programs which work as INN channels I always put:

{ my $oldfh = select STDIN; $| = 1; select $oldfh; }

maybe it should go in controlchan too.

-- 
ciao,
Marco


More information about the inn-workers mailing list