summaryrefslogtreecommitdiff
path: root/regen/reentr.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-14 17:08:56 +0100
committerNicholas Clark <nick@ccl4.org>2011-05-19 10:18:14 +0100
commit29c22b52682692a630218342d1997c803a3b487b (patch)
tree292f5591f4269ba0567791e22c5a87e2f93ba358 /regen/reentr.pl
parentfb8ff1db5449e3c679d9193f00ffaa0a15f88fd7 (diff)
downloadperl-29c22b52682692a630218342d1997c803a3b487b.tar.gz
Rename safer_open() to open_new(), and eliminate the first parameter.
Update the SHA256s where necessary in the generated files.
Diffstat (limited to 'regen/reentr.pl')
-rw-r--r--regen/reentr.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/regen/reentr.pl b/regen/reentr.pl
index 69f92d1e20..39e24525c2 100644
--- a/regen/reentr.pl
+++ b/regen/reentr.pl
@@ -51,7 +51,7 @@ my %map = (
# Example #3: S_CBI means type func_r(const char*, char*, int)
-my $h = safer_open('reentr.h-new', 'reentr.h');
+my $h = open_new('reentr.h');
print $h read_only_top(lang => 'C', by => 'regen/reentr.pl',
from => 'data in regen/reentr.pl',
file => 'reentr.h', style => '*',
@@ -782,7 +782,7 @@ read_only_bottom_close_and_rename($h);
# Prepare to write the reentr.c.
-my $c = safer_open('reentr.c-new', 'reentr.c');
+my $c = open_new('reentr.c');
my $top = read_only_top(lang => 'C', by => 'regen/reentr.pl',
from => 'data in regen/reentr.pl',
file => 'reentr.c', style => '*',