controlchan testing
Russ Allbery
rra at stanford.edu
Tue May 8 16:22:19 UTC 2001
Fabien Tassin <fta at sofaraway.org> writes:
> According to Russ Allbery:
>> (In general, the best approach is to just assume that you can never
>> rename files between directories, and only relax that assumption if you
>> have strong evidence to the contrary.)
> what about using File::Copy ? AFAIR, it's there since Perl 5.002
> which is enough according to INN requirements.
I think controlchan wants atomic rename semantics (you don't want there to
be a window where there isn't any newsgroups file). For that, you really
want to use a straight rename.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list