summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2013-08-13 14:04:53 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2013-08-13 17:53:22 +0100
commit884a09e702cf69bc2e4179cffe561400f2f9c8fc (patch)
treec5f10f5c1c237349c7dfce9284289dcf244b24a7 /win32
parent31d5dc651216694e8560e13ae64dcb656b285064 (diff)
downloadperl-884a09e702cf69bc2e4179cffe561400f2f9c8fc.tar.gz
Write win32/config.h with *nix EOLs, as per the canned config_H.* files
This makes no difference when actually building perl, but saves a dos2unix when regenerating the canned files with the regen_config_h makefile targets.
Diffstat (limited to 'win32')
-rw-r--r--win32/config_h.PL1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/config_h.PL b/win32/config_h.PL
index b817c92672..6b7fbda974 100644
--- a/win32/config_h.PL
+++ b/win32/config_h.PL
@@ -51,6 +51,7 @@ eval $str;
die "$str:$@" if $@;
open(H,">$file.new") || die "Cannot open $file.new:$!";
+binmode(H);
while (<SH>)
{
last if /^$term$/o;