perlbug.PL assumes patchlevel.h has simple patch lists;
authorDavid Mitchell <davem@iabyn.com>
Wed, 12 Aug 2009 18:11:24 +0000 (19:11 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 12 Aug 2009 18:43:58 +0000 (19:43 +0100)
but these days it contains macros that expand to patch lists;
for now, just skip these macros. need a proper fix sometime.

(cherry picked from commit 8a00c8caf7ac9ccd6bd8eaa8869321108bfef1c6)

utils/perlbug.PL

index 97cf0c8..e62c6e8 100644 (file)
@@ -41,6 +41,8 @@ my @patches;
 while (<PATCH_LEVEL>) {
     last if /^\s*}/;
     next if /^\s*#/;  # preprocessor stuff
+    next if /PERL_GIT_UNPUSHED_COMMITS/;    # XXX exapand instaed
+    next if /PERL_GIT_UNCOMMITTED_CHANGES/; # XXX exapand instaed
     chomp;
     s/^\s+,?\s*"?//;
     s/"?\s*,?$//;