In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/9637d2a524bfab39fd1e4cbf27b8f632a8265e9e?hp=1146f1f7c1f33f0ef2a05fc75de4f87f7e821d93>

- Log -----------------------------------------------------------------
commit 9637d2a524bfab39fd1e4cbf27b8f632a8265e9e
Author: Craig A. Berry <[email protected]>
Date:   Thu Dec 29 14:03:43 2016 -0600

    Don't define Perl_isFOO_lc in the regex extension.
    
    Otherwise it ends up multiply defined, which annoys the VMS linker
    (and probably the AIX linker too).
-----------------------------------------------------------------------

Summary of changes:
 regexec.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/regexec.c b/regexec.c
index 23b2d3f248..0b5c847f1c 100644
--- a/regexec.c
+++ b/regexec.c
@@ -445,6 +445,8 @@ S_regcp_restore(pTHX_ regexp *rex, I32 ix, U32 
*maxopenparen_p _pDEPTH)
 
 #define regcpblow(cp) LEAVE_SCOPE(cp)  /* Ignores regcppush()ed data. */
 
+#ifndef PERL_IN_XSUB_RE
+
 bool
 Perl_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
 {
@@ -486,6 +488,8 @@ Perl_isFOO_lc(pTHX_ const U8 classnum, const U8 character)
     return FALSE;
 }
 
+#endif
+
 STATIC bool
 S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8* character)
 {

--
Perl5 Master Repository

Reply via email to