In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/c1a655ff8e4343f50d589086b1c98b17f4a9e7e7?hp=5e6b238927a6bd1b080b1a2f0ec23e491575355b>

- Log -----------------------------------------------------------------
commit c1a655ff8e4343f50d589086b1c98b17f4a9e7e7
Author: Tony Cook <t...@develop-help.com>
Date:   Wed Feb 16 10:41:26 2011 +1100

    ignore the new lib/buildcustomize.pl build deritus

M       lib/.gitignore

commit 26ecd6782dd578b8e5db8e71a209f1af139f5877
Author: Tony Cook <t...@develop-help.com>
Date:   Wed Feb 16 10:38:55 2011 +1100

    fix C++ builds and make the comment on initializers clearer

M       regexec.c
-----------------------------------------------------------------------

Summary of changes:
 lib/.gitignore |    1 +
 regexec.c      |    6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/.gitignore b/lib/.gitignore
index f0378b6..91f73cd 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -379,6 +379,7 @@
 /bigint.pm
 /bignum.pm
 /bigrat.pm
+/buildcustomize.pl
 /constant.pm
 /encoding
 /encoding.pm
diff --git a/regexec.c b/regexec.c
index 8d3ec68..93de2cf 100644
--- a/regexec.c
+++ b/regexec.c
@@ -4039,17 +4039,19 @@ S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog)
               named buffers just convert to the equivalent numbered and
               pretend they were called as the corresponding numbered buffer
               op.  */
-           /* don't initialize these, it makes C++ unhappy */
+           /* don't initialize these in the declaration, it makes C++
+              unhappy */
            char *s;
            char type;
            re_fold_t folder;
            const U8 *fold_array;
-           UV utf8_fold_flags = 0;
+           UV utf8_fold_flags;
 
            PL_reg_flags |= RF_tainted;
            folder = foldEQ_locale;
            fold_array = PL_fold_locale;
            type = REFFL;
+           utf8_fold_flags = 0;
            goto do_nref;
 
        case NREFFA:

--
Perl5 Master Repository

Reply via email to