Write win32/config.h with *nix EOLs, as per the canned config_H.* files
authorSteve Hay <steve.m.hay@googlemail.com>
Tue, 13 Aug 2013 13:04:53 +0000 (14:04 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Tue, 13 Aug 2013 16:53:22 +0000 (17:53 +0100)
This makes no difference when actually building perl, but saves a dos2unix
when regenerating the canned files with the regen_config_h makefile targets.

win32/config_h.PL

index b817c92..6b7fbda 100644 (file)
@@ -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;