diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-10-26 23:02:06 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-10-26 23:02:06 +0200 |
commit | 10c5443e550b5dfae9a194405aca62684e79e3d5 (patch) | |
tree | cecddc77c66a18a74e63b2c0f29595f8bc4d1e99 | |
parent | 00441cfaf30f333fb7f20be1cf3913667a6f533d (diff) | |
download | perl-10c5443e550b5dfae9a194405aca62684e79e3d5.tar.gz |
bisect-runner.pl now copes when historical MANIFEST files list directories.
It had assumed that MANIFEST only listed files, which caused its
'force-manifest' code to choke on revisions between 27332437a2ed1941 and
bf3d9ec563d25054^ inclusive, as manifest contains ext/Thread/Thread
-rwxr-xr-x | Porting/bisect-runner.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index 6fecdd8b8d..ff3e6ca1e3 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -1314,8 +1314,10 @@ if ($options{'force-manifest'}) { or die "Could not open MANIFEST: $!"; while (<$fh>) { next unless /^(\S+)/; + # -d is special case needed (at least) between 27332437a2ed1941 and + # bf3d9ec563d25054^ inclusive, as manifest contains ext/Thread/Thread push @missing, $1 - unless -f $1; + unless -f $1 || -d $1; } close $fh or die "Can't close MANIFEST: $!"; |