Hi Paul,
the error it signals up-stack must tell its caller why it fails, so
that its caller can then try the next possible filename (message
number). only if it fails N times in a row (suggest 6 or 42, from the
prisoner and douglas adams) should comp then fail.
That's a nice to have needing more effort...
if we're not going to do this much, then adding O_EXCL will do very
little good.
...but right now there will be a benefit to having comp make its single
attempt with O_EXCL; explicit abandonment with an error message showing
the problem rather than silent trampling and a random winner. And it's
a simpler change.
Doing O_EXCL doesn't preclude other strategies being on a wish list.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers