[notmuch] [PATCH] notmuch-new: Check for non-fatal errors from stat()

Carl Worth cworth at cworth.org
Fri Nov 27 21:37:00 PST 2009


On Fri, 27 Nov 2009 13:50:11 +0000, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> Currently we assume that all errors on stat() a dname is fatal (but
> continue anyway and report the error at the end). However, some errors
> reported by stat() such as a missing file or insufficient privilege,
> we can simply ignore and skip the file. For the others, such as a fault
> (unlikely!) or out-of-memory, we handle like the other fatal errors by
> jumping to the end.

Thanks! Pushed.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091127/8e2b3386/attachment.pgp>


More information about the notmuch mailing list