This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update AVAILABILITY.
[perl5.git]
/
minimod.pl
diff --git
a/minimod.pl
b/minimod.pl
old mode 100755
(executable)
new mode 100644
(file)
index
b9b7071
..
8efbd31
--- a/
minimod.pl
+++ b/
minimod.pl
@@
-40,7
+40,7
@@
$tail=<<'EOF!TAIL';
END
while (<MINI>) {
END
while (<MINI>) {
- print;
+ print
unless /dXSUB_SYS/
;
}
close MINI;
}
close MINI;
@@
-59,13
+59,15
@@
sub writemain{
my($mname, $cname);
($mname = $pname) =~ s!/!::!g;
($cname = $pname) =~ s!/!__!g;
my($mname, $cname);
($mname = $pname) =~ s!/!::!g;
($cname = $pname) =~ s!/!__!g;
- print "EXTERN_C void boot_${cname}
_((CV* cv)
);\n";
+ print "EXTERN_C void boot_${cname}
(CV* cv
);\n";
}
my ($tail1,$tail2) = ( $tail =~ /\A(.*\n)(\s*\}.*)\Z/s );
print $tail1;
}
my ($tail1,$tail2) = ( $tail =~ /\A(.*\n)(\s*\}.*)\Z/s );
print $tail1;
- print " char *file = __FILE__;\n";
+ print "\tchar *file = __FILE__;\n";
+ print "\tdXSUB_SYS;\n" if $] > 5.002;
+
foreach $_ (@exts){
my($pname) = canon('/', $_);
my($mname, $cname, $ccode);
foreach $_ (@exts){
my($pname) = canon('/', $_);
my($mname, $cname, $ccode);