[pcre-dev] [Bug 1357] Insufficient implementation of PCRE_CA…

トップ ページ
このメッセージを削除
著者: Philip Hazel
日付:  
To: pcre-dev
題目: [pcre-dev] [Bug 1357] Insufficient implementation of PCRE_CALL_CONVENTION
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1357




--- Comment #3 from Philip Hazel <ph10@???> 2013-05-24 11:44:37 ---
On Fri, 24 May 2013, Carsten Klein wrote:

> One more note on the new VB6COMPAT option. Likely this option would also help
> to make PCRE available from the .NET languages like C#. Have a look at bug
> #1209. It seems that the .NET P/Invoke feature is also not capable of calling
> an exported function pointer, which actually is stored in the library's .data
> section.


Thank you for taking the time to explore all of this - I'm not a Windows
user so all the Windows-related stuff in PCRE is what other users have
contributed over the years.

I'm afraid you are too late for the 8.33 release, which is currently in
testing. I am hoping to get it released next week, and I think your
patch is too large to put in at the last minute.

However, there will no doubt be an 8.34 in future. Once 8.33 has settled
down (that is, after a few weeks when nobody is shouting about any
disasters in it), I will look at your patches.

[Incidentally, the malloc/free static pointers are probably the worst
part of my naive 1997 design that still survives. The pointers should
really be passed in in some kind of "context" data structure which would
be thread-safe. However, changing this implies a whole new API for PCRE,
and although I have some ideas, I am not very keen on starting any major
PCRE projects nowadays.]

Philip


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email