diff options
Diffstat (limited to 'patchlevel.h')
-rw-r--r-- | patchlevel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/patchlevel.h b/patchlevel.h index 5b118cf3af..af6e18f49b 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -100,6 +100,7 @@ while (<PLIN>) { } close PLOUT or die "Couldn't close filehandle writing to patchlevel.new : $!"; close PLIN or die "Couldn't close filehandle reading from patchlevel.h : $!"; +close DATA; # needed to allow unlink to work win32. unlink "patchlevel.bak" or warn "Couldn't unlink patchlevel.bak : $!" if -e "patchlevel.bak"; rename "patchlevel.h", "patchlevel.bak" or |