petdance/scratch — Issue #334: pcre_compile picked wrong function signature letter.
Author: petdance
Created: 2011-11-01 04:25:43+00:00
State: open

The pcre_compile library function takes a const char ** parameter which SHOULD have been matched by a capital 'V' in the signature but a somewhat similar capital 'B' was picked instead resulting in the error string not being passed back properly.

The patches have been tested on windows and ubuntu. Note that the changes to src/nci/extra_thunks.c are generated by tools/dev/mk_nci_thunks.pl but are included here as the .c file is under version control and I don't think it's genned by the Makefile.

See also the irc discussion here: [http://irclog.perlgeek.de/parrot/2010-09-18#i_2840413]