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
Move freeing the old body after the creating of the new body.
[perl5.git]
/
minimod.pl
diff --git
a/minimod.pl
b/minimod.pl
index
18b9c07
..
39f9763
100644
(file)
--- a/
minimod.pl
+++ b/
minimod.pl
@@
-65,7
+65,7
@@
sub writemain{
my ($tail1,$tail2) = ( $tail =~ /\A(.*\n)(\s*\}.*)\Z/s );
print $tail1;
- print "\tc
har *file
= __FILE__;\n";
+ print "\tc
onst char file[]
= __FILE__;\n";
print "\tdXSUB_SYS;\n" if $] > 5.002;
foreach $_ (@exts){