[PATCH] xregcomp: don't consider every regex compilation failure an internal error.

2011-10-23 Thread David Bremner
From: David Bremner 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. --- And here is the promised modification of xregcomp. One issue I thought about is that we now

[PATCH] xregcomp: don't consider every regex compilation failure an internal error.

2011-10-23 Thread David Bremner
From: David Bremner 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. --- And here is the promised modification of xregcomp. One issue I thought about is that we now