diff options
Diffstat (limited to 'warnings.pl')
-rw-r--r-- | warnings.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/warnings.pl b/warnings.pl index 669d13c6e6..2f987c5da2 100644 --- a/warnings.pl +++ b/warnings.pl @@ -362,7 +362,7 @@ print $warn <<'EOM'; /* ex: set ro: */ EOM -close $warn; +safer_close $warn; rename_if_different("warnings.h-new", "warnings.h"); while (<DATA>) { @@ -424,7 +424,7 @@ while (<DATA>) { } print $pm "# ex: set ro:\n"; -close $pm; +safer_close $pm; rename_if_different("lib/warnings.pm-new", "lib/warnings.pm"); __END__ |