develooper Front page | perl.perl5.changes | Postings from September 2019

[perl.git] branch blead updated. v5.31.3-199-ge52e9867e0

From:
"Craig A. Berry" via perl5-changes
Date:
September 20, 2019 20:39
Subject:
[perl.git] branch blead updated. v5.31.3-199-ge52e9867e0
Message ID:
E1iBPgy-0002H9-5O@git.dc.perl.space
In perl.git, the branch blead has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/e52e9867e0bd6d98a671cdfbdd7332fe3a22db61?hp=d2cd363728088adada85312725ac9d96c29659be>

- Log -----------------------------------------------------------------
commit e52e9867e0bd6d98a671cdfbdd7332fe3a22db61
Author: Craig A. Berry <craigberry@mac.com>
Date:   Fri Sep 20 15:11:35 2019 -0500

    makedef.pl: export symbols flagged as C
    
    0923255565af0741 broke the build on any platform that does not
    promiscuously export all symbols from a shared library because
    it moved a bunch of symbols from being API (A flag) to core-only
    (C flag), but the new C flag was unknown to the program that
    generates the export list.  Some of these functions are already
    used outside the core (such as by the Encode extension) so we
    can't simply pull the plug on them.

-----------------------------------------------------------------------

Summary of changes:
 makedef.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/makedef.pl b/makedef.pl
index ce203c1fb0..f08a41bbd1 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -753,7 +753,7 @@ unless ($define{'USE_QUADMATH'}) {
     foreach (@$embed) {
 	my ($flags, $retval, $func, @args) = @$_;
 	next unless $func;
-	if (($flags =~ /[AX]/ && $flags !~ $excludedre)
+	if (($flags =~ /[AXC]/ && $flags !~ $excludedre)
             || (!$define{'NO_MATHOMS'} && $flags =~ /b/))
         {
 	    # public API, so export

-- 
Perl5 Master Repository



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About