summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2005-01-19 10:22:55 +0000
committerBjörn Stenberg <bjorn@haxx.se>2005-01-19 10:22:55 +0000
commita58941d03a006e63906f44e95cd0f1222359aaf5 (patch)
tree8dd9fc14fbdf1334a2c9dfca8859d4f937cd0753
parent39a03b7f4df16aca27f77249e23dc84dd12c54b0 (diff)
downloadrockbox-a58941d03a006e63906f44e95cd0f1222359aaf5.tar.gz
rockbox-a58941d03a006e63906f44e95cd0f1222359aaf5.tar.bz2
rockbox-a58941d03a006e63906f44e95cd0f1222359aaf5.zip
Windows requires setting files to binary mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5603 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/songdb.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/songdb.pl b/tools/songdb.pl
index 3cf87bc8df..3cc8814887 100755
--- a/tools/songdb.pl
+++ b/tools/songdb.pl
@@ -297,6 +297,7 @@ if ($db) {
print "Database version: $dbver\n" if ($verbose);
open(DB, ">$db") || die "couldn't make $db";
+ binmode(DB);
printf DB "RDB%c", $dbver;
$pathindex = 48; # paths always start at index 48