[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3932) regex/librewrite concurrency issue



I've uploaded at
<ftp.openldap.org/incoming/p.m.2005-08-13.regex-reentrant.patch>
a patch that wraps regex calls if LUTIL_REGEX_REENTRANT is __not__ defined.

Current HEAD compiles and passes all tests either with or without that
macro defined (I only tested __with__ threads, but I expect it to be
transparent in that case), so it's supposed to work fine.  Please test and
apply as appropriate.  I'm not committing it myself because you might want
to rework it a bit, and I'll be offline util wednesday.

Ciao, p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497