[Gambas-devel] bug in object creation, or in my pcre component?

Rob sourceforge-raindog2 at ...19...
Wed Jan 26 00:05:31 CET 2005


On Tuesday 25 January 2005 10:59, Benoit Minisini wrote:
> In REGEXP_new, you allocate an array in a static variable
> named 'smcache'. Then, if you create two regular expressions,
> the same static variable is used. I see a problem there... :-)

Here, a new version of the component where I moved the two 
unnecessary static variables into the object's struct.  Built 
and tested under 1.9.2.

Rob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcre-200501251802.tar.gz
Type: application/x-tgz
Size: 16532 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050125/7c67e191/attachment.bin>


More information about the Devel mailing list