binmode for windoze compatibilty

This commit is contained in:
ehouse 2004-01-06 05:40:39 +00:00
parent 18ca2b226e
commit fdfb77abde
2 changed files with 3 additions and 1 deletions

View file

@ -624,6 +624,7 @@ sub emitNodes($$) {
my $outName = sprintf("${outFileBase}_%03d.bin", $nextFileNum);
open OUTFILE, "> $outName";
binmode( OUTFILE );
my $curSize = 0;
while ( $nextIndex < @gNodes ) {

View file

@ -21,7 +21,8 @@
use strict;
use xloc;
# For f*cking windoze linefeeds
binmode(STDOUT);
my $arg = shift(@ARGV);
my $lang = shift(@ARGV);