In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/bcd258b8ea3fa36748bc52b76a9bb28df97e0c2b?hp=23933b71b68b2a941ad96656d331a8c2775288cc>

- Log -----------------------------------------------------------------
commit bcd258b8ea3fa36748bc52b76a9bb28df97e0c2b
Author: Nicholas Clark <[email protected]>
Date:   Thu Oct 21 20:32:31 2010 +0100

    MY_CXT_INIT happens to contain a variable declaration, so give it its own 
block
    
    Without this, Glob.xs won't build on any compiler which enforces this part 
of
    C89.
-----------------------------------------------------------------------

Summary of changes:
 ext/File-Glob/Glob.xs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ext/File-Glob/Glob.xs b/ext/File-Glob/Glob.xs
index 8543a04..d4b453c 100644
--- a/ext/File-Glob/Glob.xs
+++ b/ext/File-Glob/Glob.xs
@@ -80,7 +80,10 @@ BOOT:
 {
     CV *cv = newXS("File::Glob::bsd_glob", XS_File__Glob_doglob, __FILE__);
     XSANY.any_i32 = 1;
+}
 
+BOOT:
+{
     MY_CXT_INIT;
 }
 

--
Perl5 Master Repository

Reply via email to