mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
binmode for windoze compatibilty
This commit is contained in:
parent
18ca2b226e
commit
fdfb77abde
2 changed files with 3 additions and 1 deletions
|
@ -624,6 +624,7 @@ sub emitNodes($$) {
|
|||
|
||||
my $outName = sprintf("${outFileBase}_%03d.bin", $nextFileNum);
|
||||
open OUTFILE, "> $outName";
|
||||
binmode( OUTFILE );
|
||||
my $curSize = 0;
|
||||
|
||||
while ( $nextIndex < @gNodes ) {
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
use strict;
|
||||
use xloc;
|
||||
|
||||
|
||||
# For f*cking windoze linefeeds
|
||||
binmode(STDOUT);
|
||||
|
||||
my $arg = shift(@ARGV);
|
||||
my $lang = shift(@ARGV);
|
||||
|
|
Loading…
Reference in a new issue