diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-05-14 17:08:56 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-05-19 10:18:14 +0100 |
commit | 29c22b52682692a630218342d1997c803a3b487b (patch) | |
tree | 292f5591f4269ba0567791e22c5a87e2f93ba358 /regen/opcode.pl | |
parent | fb8ff1db5449e3c679d9193f00ffaa0a15f88fd7 (diff) | |
download | perl-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/opcode.pl')
-rwxr-xr-x | regen/opcode.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regen/opcode.pl b/regen/opcode.pl index 4902e00de0..c52506a2a3 100755 --- a/regen/opcode.pl +++ b/regen/opcode.pl @@ -20,8 +20,8 @@ BEGIN { require 'regen/regen_lib.pl'; } -my $oc = safer_open('opcode.h-new', 'opcode.h'); -my $on = safer_open('opnames.h-new', 'opnames.h'); +my $oc = open_new('opcode.h'); +my $on = open_new('opnames.h'); # Read data. @@ -441,7 +441,7 @@ sub gen_op_is_macro { } } -my $pp = safer_open('pp_proto.h-new', 'pp_proto.h'); +my $pp = open_new('pp_proto.h'); print $pp read_only_top(lang => 'C', by => 'opcode.pl', from => 'its data'); |