reformatting controlchan
Olaf Titz
olaf at bigred.inka.de
Thu Jan 25 10:17:50 UTC 2001
> > open(TEMPFILE, $tempfile) or die;
> > open(NEWSGROUPS, ">$inn::newsgroups") or die;
^
> > print NEWSGROUPS $_ while <TEMPFILE>;
> > close TEMPFILE;
> > close NEWSGROUPS;
> > (it does not change the permissions of newsgroups, but is this a side
> > effect or a feature to be preserved?)
>
> It really should shlock newsgroups and then append to it, shouldn't it?
The above code is just a copy, why isn't that done with rename?
Olaf
More information about the inn-workers
mailing list