]> git.cworth.org Git - notmuch/commit
xregcomp: don't consider every regex compilation failure an internal error.
authorDavid Bremner <bremner@debian.org>
Sun, 23 Oct 2011 20:52:19 +0000 (17:52 -0300)
committerDavid Bremner <bremner@debian.org>
Mon, 31 Oct 2011 02:10:38 +0000 (23:10 -0300)
commit7a87830f5eb32373bc17235e9d178d383830dc64
treecbdfb839d39797ea4a87292fffe2b01a08f053f2
parent1dedfc90f6eee7cad10f1a1ceb39a7a1c4dbd1b1
xregcomp: don't consider every regex compilation failure an internal error.

This pushes the error handling up one step, but makes the function
more flexible. Running out of memory still triggers an internal error,
in the spirit of other xutils functions.
notmuch-restore.c
util/xutil.c
util/xutil.h