Saves having object code to build one SV that Config::_V can find out by itself.
# use vars pulls in Carp
sub _V {
- my ($bincompat, $non_bincompat, $date, $osname, @patches) = Internals::V();
+ my ($bincompat, $non_bincompat, $date, @patches) = Internals::V();
my $opts = join ' ', sort split ' ', "$bincompat $non_bincompat";
print "\t$_\n" foreach @patches;
}
- print " Built under $osname\n";
+ print " Built under $^O\n";
print " $date\n" if defined $date;
#else
const int local_patch_count = 0;
#endif
- const int entries = 4 + local_patch_count;
+ const int entries = 3 + local_patch_count;
int i;
static char non_bincompat_options[] =
# ifdef DEBUGGING
PUSHs(&PL_sv_undef);
#endif
- PUSHs(Perl_newSVpvn_flags(aTHX_ STR_WITH_LEN(OSNAME), SVs_TEMP));
-
for (i = 1; i <= local_patch_count; i++) {
/* This will be an undef, if PL_localpatches[i] is NULL. */
PUSHs(sv_2mortal(newSVpv(PL_localpatches[i], 0)));