From: Adam Dickmeiss Date: Fri, 9 Sep 2005 10:30:35 +0000 (+0000) Subject: Set ODR_MAX_STACK to 2000 instead of 10000. It seems that 10000 causes X-Git-Tag: YAZ.2.1.10~79 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=40a2553a95734f7c8374e506b327bc6aca91f0cc Set ODR_MAX_STACK to 2000 instead of 10000. It seems that 10000 causes a stack overflow in threaded mode on FreeBSD. --- diff --git a/src/odr-priv.h b/src/odr-priv.h index 02b7a1b..06d6102 100644 --- a/src/odr-priv.h +++ b/src/odr-priv.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: odr-priv.h,v 1.7 2005-08-11 14:21:55 adam Exp $ + * $Id: odr-priv.h,v 1.8 2005-09-09 10:30:35 adam Exp $ */ /** @@ -78,7 +78,7 @@ struct odr_constack struct odr_constack *next; /** pointer forward */ }; -#define ODR_MAX_STACK 10000 +#define ODR_MAX_STACK 2000 /** * \brief ODR private data