diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-07-06 16:21:40 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-07-07 12:52:36 +0200 |
commit | 47be8fd0cb19da6ff1bca5139c2b2998b00c3ce4 (patch) | |
tree | 605f6c218f6c3c9cc6354951d0a41af25e3380bf /regen | |
parent | a78951c8adf2702a1136eae4f11657b13ee6697f (diff) | |
download | perl-47be8fd0cb19da6ff1bca5139c2b2998b00c3ce4.tar.gz |
Move the "editor block" from miniperlmain.c to ExtUtils::Miniperl
As miniperlmain.c is now generated by ExtUtils::Miniperl (and not the other
way round), there's no reason to have an editor block in the generated file,
as it's not intended to be edited. Instead, add the "generated from" and
read-only headers to miniperlmain.c
Diffstat (limited to 'regen')
-rw-r--r-- | regen/miniperlmain.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regen/miniperlmain.pl b/regen/miniperlmain.pl index 205c5839ec..1558fb99f5 100644 --- a/regen/miniperlmain.pl +++ b/regen/miniperlmain.pl @@ -10,6 +10,6 @@ BEGIN { use ExtUtils::Miniperl; -my $fh = open_new('miniperlmain.c'); +my $fh = open_new('miniperlmain.c', undef, {by => "$0 and ExtUtils::Miniperl"}); writemain($fh); -close_and_rename($fh); +read_only_bottom_close_and_rename($fh); |