summaryrefslogtreecommitdiff
path: root/reentr.pl
diff options
context:
space:
mode:
Diffstat (limited to 'reentr.pl')
-rw-r--r--reentr.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/reentr.pl b/reentr.pl
index be15c40609..ea327a09fe 100644
--- a/reentr.pl
+++ b/reentr.pl
@@ -787,7 +787,7 @@ typedef struct {
/* ex: set ro: */
EOF
-close($h);
+safer_close($h);
rename_if_different('reentr.h-new', 'reentr.h');
# Prepare to write the reentr.c.
@@ -1089,7 +1089,7 @@ Perl_reentrant_retry(const char *f, ...)
/* ex: set ro: */
EOF
-close($c);
+safer_close($c);
rename_if_different('reentr.c-new', 'reentr.c');
__DATA__