summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-24 12:46:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-24 12:46:04 +0000
commit869c952ea3f9e58334475a7870f7543b1adc47bf (patch)
tree812f1bdb9a149146834970fb27a08dbedf177269
parent35d6da6b190b5bcf253b5692d603a331dbf3d4c0 (diff)
downloadrockbox-869c952ea3f9e58334475a7870f7543b1adc47bf.tar.gz
rockbox-869c952ea3f9e58334475a7870f7543b1adc47bf.tar.bz2
rockbox-869c952ea3f9e58334475a7870f7543b1adc47bf.zip
write a binary file, for windows people
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2392 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/binlang2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/binlang b/tools/binlang
index 284dbf738e..3a0152dced 100755
--- a/tools/binlang
+++ b/tools/binlang
@@ -40,6 +40,8 @@ open(OFILE, ">$output");
my $langversion = 1;
+binmode OFILE;
+
printf OFILE ("\x1a%c", $langversion); # magic lang file header
#