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
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e9e3be2
)
Make script embedded in patchlevel.h work on win32.
author
Yves Orton
<demerphq@gmail.com>
Sat, 17 Dec 2005 19:52:00 +0000
(19:52 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Sun, 18 Dec 2005 10:23:55 +0000
(10:23 +0000)
Message-ID: <9b18b3110512171052h2052d598rdf038f1d38560317@mail.gmail.com>
p4raw-id: //depot/perl@26397
patchlevel.h
patch
|
blob
|
blame
|
history
diff --git
a/patchlevel.h
b/patchlevel.h
index
5b118cf
..
af6e18f
100644
(file)
--- 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