]> git.imager.perl.org - imager.git/commitdiff
ensure we always produce the same Imager::Regops
authorTony Cook <tony@develop-help.com>
Sat, 14 Jun 2014 01:09:17 +0000 (11:09 +1000)
committerTony Cook <tony@develop-help.com>
Sat, 14 Jun 2014 01:09:17 +0000 (11:09 +1000)
On win32 this produced a CRLF file which confused git

regops.perl

index 549244e5a4ba1ece8f486c3bb451bf2f6fa861af..613ffc2babe87b17eadafb51685e10179dc4aabf 100644 (file)
@@ -5,6 +5,7 @@ my $in = shift or die "No input name";
 my $out = shift or die "No output name";
 open(IN, $in) or die "Cannot open input $in: $!";
 open(OUT, "> $out") or die "Cannot create $out: $!";
+binmode OUT;
 print OUT <<'EOS';
 # AUTOMATICALLY GENERATED BY regops.perl
 package Imager::Regops;