From: Nicholas Clark Date: Tue, 2 Jan 2007 16:05:02 +0000 (+0000) Subject: Probably better to make PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI special X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=077a3fa2c3fff382cd8a867b1b39765df61a6fc7;p=p5sagit%2Fp5-mst-13.2.git Probably better to make PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI special cases, instead of scanning pad.h to find them, and picking up 3 other superfluous definitions as a side effect. p4raw-id: //depot/perl@29663 --- diff --git a/ext/B/defsubs_h.PL b/ext/B/defsubs_h.PL index 9291f34..0e30e46 100644 --- a/ext/B/defsubs_h.PL +++ b/ext/B/defsubs_h.PL @@ -47,11 +47,13 @@ foreach my $const (qw( SVs_SMG SVt_PVGV SVt_PVHV + PAD_FAKELEX_ANON + PAD_FAKELEX_MULTI )) { doconst($const); } -foreach my $file (qw(op.h cop.h pad.h)) +foreach my $file (qw(op.h cop.h)) { my $path = $^O eq 'MacOS' ? ":::$file" : "../../$file"; open(OPH,"$path") || die "Cannot open $path:$!"; diff --git a/ext/B/t/concise-xs.t b/ext/B/t/concise-xs.t index 76f307b..b4f053f 100644 --- a/ext/B/t/concise-xs.t +++ b/ext/B/t/concise-xs.t @@ -117,7 +117,7 @@ use Getopt::Std; use Carp; use Test::More tests => ( # per-pkg tests (function ct + require_ok) 40 + 16 # Data::Dumper, Digest::MD5 - + 517 + 241 # B::Deparse, B + + 517 + 238 # B::Deparse, B + 595 + 190 # POSIX, IO::Socket + 3 * ($] > 5.009) + 16 * ($] >= 5.009003)