Change 34855 by [EMAIL PROTECTED] on 2008/11/16 21:26:16

        Integrate:
        [ 34851]
        Integrate:
        [ 34824]
        Skip #ifdefs and other preprocessor lines when parsing the
        local_patches section of patchlevel.h.

Affected files ...

... //depot/maint-5.8/perl/utils/perlbug.PL#10 integrate

Differences ...

==== //depot/maint-5.8/perl/utils/perlbug.PL#10 (text) ====
Index: perl/utils/perlbug.PL
--- perl/utils/perlbug.PL#9~34536~      2008-10-20 12:21:37.000000000 -0700
+++ perl/utils/perlbug.PL       2008-11-16 13:26:16.000000000 -0800
@@ -42,6 +42,7 @@
 my @patches;
 while (<PATCH_LEVEL>) {
     last if /^\s*}/;
+    next if /^\s*#/;  # preprocessor stuff
     chomp;
     s/^\s+,?\s*"?//;
     s/"\s+STRINGIFY\(PERL_PATCHNUM\)/$patchnum"/;
End of Patch.

Reply via email to