Re: patch submission?
Clifton Royston <cliftonr <at> lava.net>
2005-03-23 22:45:33 GMT
On Wed, Mar 23, 2005 at 05:27:13PM -0500, Sylvain Robitaille wrote:
> Earlier, I wrote:
>
> > What I'm wondering is, is this an appropriate place to submit that
> > patch? Are the Qpopper developpers known to use this mailing list?
> > Are other people interested in my patch?
>
>
> Joe Maimon replied:
>
> > Yes
>
...
> For the first patch, pop_dropcopy.c and pop_updt.c are changed as
> follows:
>
> In pop_dropcopy.c, link the mail spool to the temp spool, acquire a
> lock on the mail spool, unlink and recreate the mail spool, and release
> the lock. If the link fails, (either because the temp spool is on a
> different file system than the mail spool, or because the temp spool
> already exists), fall back to the original code that copies the mail
> spool into the temp spool.
>
> In pop_updt.c, if no updates are pending (no messages were read,
> requiring Status: or X-UIDL: header updates, and no no messages were
> marked to be deleted), after the lock has been acquired on the mail
> spool, and any new messages have been appended to the temp spool,
> rename the temp spool to mail spool (overwriting the existing mail
> spool whose contents have already been copied), rather than copying
> the contents back.
(Continue reading)