summaryrefslogtreecommitdiff
path: root/Porting/corelist.pl
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2012-08-09 13:54:24 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2012-08-09 13:54:24 +0100
commitc89c9a063a968f149d82a7296cb8bda9106a0a18 (patch)
tree5d3fd3f4b3c31304d393e5d41b0a8cd048c88483 /Porting/corelist.pl
parentb14c545196ee21973eca822bd3321b1fa49179fc (diff)
downloadperl-c89c9a063a968f149d82a7296cb8bda9106a0a18.tar.gz
Don't write Windows EOLs in CoreList.(pm|pod) when updating them on Windows
Diffstat (limited to 'Porting/corelist.pl')
-rwxr-xr-xPorting/corelist.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Porting/corelist.pl b/Porting/corelist.pl
index de51cdee15..b5e2645e86 100755
--- a/Porting/corelist.pl
+++ b/Porting/corelist.pl
@@ -290,6 +290,7 @@ sub write_corelist {
my $content = shift;
my $filename = shift;
open (my $clfh, ">", $filename);
+ binmode $clfh;
print $clfh $content;
close($clfh);
}