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
Re: [PATCH: perl@20760] clean up quotation issue for use with MMS on VMS
[perl5.git]
/
regcomp.pl
diff --git
a/regcomp.pl
b/regcomp.pl
index
6ae8478
..
1809da3
100644
(file)
--- a/
regcomp.pl
+++ b/
regcomp.pl
@@
-1,3
+1,7
@@
+BEGIN {
+ # Get function prototypes
+ require 'regen_lib.pl';
+}
#use Fatal qw(open close rename chmod unlink);
open DESC, 'regcomp.sym';
$ind = 0;
#use Fatal qw(open close rename chmod unlink);
open DESC, 'regcomp.sym';
$ind = 0;
@@
-112,8
+116,6
@@
static const int reg_num = $tot;
EOP
EOP
-close OUT;
+close OUT
or die "close $tmp_h: $!"
;
-chmod 0666, 'regnodes.h';
-unlink 'regnodes.h';
-rename $tmp_h, 'regnodes.h';
+safer_rename $tmp_h, 'regnodes.h';