Change 34851 by [EMAIL PROTECTED] on 2008/11/16 20:06:12
Integrate:
[ 34824]
Skip #ifdefs and other preprocessor lines when parsing the
local_patches section of patchlevel.h.
Affected files ...
... //depot/maint-5.10/perl/utils/perlbug.PL#6 integrate
Differences ...
==== //depot/maint-5.10/perl/utils/perlbug.PL#6 (text) ====
Index: perl/utils/perlbug.PL
--- perl/utils/perlbug.PL#5~34532~ 2008-10-20 08:33:10.000000000 -0700
+++ perl/utils/perlbug.PL 2008-11-16 12:06:12.000000000 -0800
@@ -40,6 +40,7 @@
my @patches;
while (<PATCH_LEVEL>) {
last if /^\s*}/;
+ next if /^\s*#/; # preprocessor stuff
chomp;
s/^\s+,?\s*"?//;
s/"?\s*,?$//;
End of Patch.