Re: [pcre-dev] Dependency issue

トップ ページ
このメッセージを削除
著者: Ze'ev Atlas
日付:  
To: pcre-dev@exim.org
題目: Re: [pcre-dev] Dependency issue
Hi PhilipSorry for being so punctualCould you add the name of the new source module in the non-autotools-build document please Ze'ev Atlas


      From: "ph10@???" <ph10@???>
 To: Ze'ev Atlas <zatlas1@???> 
Cc: pcre-dev@??? 
 Sent: Thursday, July 16, 2015 4:10 AM
 Subject: Re: Dependency issue


On Thu, 16 Jul 2015, Ze'ev Atlas wrote:

> Hi PhilipI gave it a lot of thought and I would like to plead with
> you, before I go to a non-standard solution and before you continue
> with potentially dangerous structure.  Shouldn't it be better to
> put find_bracket (and potentially other such routines) into a module
> unto themselves, perhaps pcre2_supportfunctions.c and in that way open
> them to use from any module without circular dependency issue? Ze'ev
> Atlas


OK, I agree it would be cleaner. In fact, find_bracket is the only such
function, so it could have a module to itself.

This same issue exists in PCRE1 (which I will not be changing). I wonder
why you did not notice it then? Ah! Of course! pcre_study() is not
automatically called from pcre_compile() in PCRE1. It's that change that
has created this problem.



Philip

--
Philip Hazel