This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables: Convert PropertyAliases.txt to use new early infrastructure
[perl5.git] / regen / uconfig_h.pl
index 0e2feaf..99a74f1 100755 (executable)
@@ -24,7 +24,4 @@ system $command and die "`$command` failed, \$?=$?";
 
 my $fh = open_new($uconfig_h, '>>');
 
-print $fh "\n", read_only_bottom([$ENV{CONFIG_SH}, 'config_h.SH']);
-
-safer_close($fh);
-rename_if_different($uconfig_h_new, $uconfig_h);
+read_only_bottom_close_and_rename($fh, [$ENV{CONFIG_SH}, 'config_h.SH']);