[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] nmh should be more careful about when it unlinks draft
From: |
Ralph Corderoy |
Subject: |
Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files |
Date: |
Wed, 04 Jan 2017 12:51:51 +0000 |
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
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, (continued)
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ralph Corderoy, 2017/01/03
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ken Hornstein, 2017/01/03
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ralph Corderoy, 2017/01/03
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ken Hornstein, 2017/01/03
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ralph Corderoy, 2017/01/03
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ken Hornstein, 2017/01/03
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Paul Vixie, 2017/01/03
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ken Hornstein, 2017/01/04
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Paul Vixie, 2017/01/04
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ken Hornstein, 2017/01/04
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files,
Ralph Corderoy <=
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Laura Creighton, 2017/01/03
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Robert Elz, 2017/01/02
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Laura Creighton, 2017/01/02
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ralph Corderoy, 2017/01/03
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ken Hornstein, 2017/01/02
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ralph Corderoy, 2017/01/02
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Laura Creighton, 2017/01/02
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Laura Creighton, 2017/01/02
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, David Levine, 2017/01/02
- Re: [Nmh-workers] nmh should be more careful about when it unlinks draft files, Ralph Corderoy, 2017/01/02