This was done once already in change 25222, but then modified in change
25225. The new versions of CBuilder and ParseXS that sync'ed those
changes and have now been integrated back into bleadperl missed some
bits of change 25225. Try again.
p4raw-id: //depot/perl@25652
use File::Basename ();
use vars qw($VERSION @ISA);
-$VERSION = '0.14';
+$VERSION = '0.14_01';
$VERSION = eval $VERSION;
# Okay, this is the brute-force method of finding out what kind of
$lib =~ tr/"'//d;
ok $lib_file, $lib;
-unlink $source_file;
+for ($source_file, $object_file, $lib_file) {
+ tr/"'//d;
+ 1 while unlink;
+}
my @words = $b->split_like_shell(' foo bar');
ok @words, 2;
ok my_system($exe_file), 11;
# Clean up
-unlink $source_file;
+for ($source_file, $object_file, $exe_file) {
+ tr/"'//d;
+ 1 while unlink;
+}
sub my_system {
my $cmd = shift;
my($XSS_work_idx, $cpp_next_tmp);
use vars qw($VERSION);
-$VERSION = '2.12';
+$VERSION = '2.12_01';
use vars qw(%input_expr %output_expr $ProtoUsed @InitFileCode $FH $proto_re $Overload $errors $Fallback
$cplusplus $hiertype $WantPrototypes $WantVersionChk $except $WantLineNumbers
}
}
}
+ 1 while unlink $obj_file;
1 while unlink $lib_file;
} else {
skip "Skipped can't find a C compiler & linker", 1 for 1..7;