[pcre-dev] [Bug 1202] Issue with PRIV symbols in pcre_printi…

Top Page
Delete this message
Author: Zoltan Herczeg
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1202] Issue with PRIV symbols in pcre_printint.c
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #3 from Zoltan Herczeg <hzmester@???> 2012-01-23 10:35:34 ---
(In reply to comment #2)
> I am not sure that the patch is enough. What we have is references in
> printint.c to tables that are contained in pcretest.c (by being #included). As
> well as getting the names right, do we not also have to have some extern
> definitions in printint.c so that it knows the tables are external? And
> possibly the same definitions in pcretest.c so that it exports the tables.
>


The definitions are in pcre_internal.h By setting a new PRIV macro, all
PRIV(name)-s are changed which includes forward definitions, declarations and
uses in all files (both pcretest. and pcre_prinitint.c) Tricky, I know.


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