John Morrissey writes:

On Fri, Dec 02, 2005 at 02:21:14PM -0500, John Morrissey wrote:
While troubleshooting a local problem, I had the opportunity to examine
the quota warning code in courier/maildir/.

I noticed that if the stat() on Maildir/quotawarn fails, the quota warning
is still delivered. Since everything else seems to fail fast, I've
modified the check to behave similarly if the stat() fails and errno !=
ENOENT.

Also, the check on open() wasn't catching failure, since open(2) returns
-1 on failure, and !(-1) is false.
[snip]

I was just wondering about the status of these suggestions; based on
SourceForge's ViewCVS, maildirquota.c hasn't been touched in a while.

The full patch in the archives is:

http://sourceforge.net/mailarchive/message.php?msg_id=14063092

It's sitting in my TODO folder, waiting for its turn at the plate.




Attachment: pgpzpNoGXc2Uo.pgp
Description: PGP signature

Reply via email to