summaryrefslogtreecommitdiff
path: root/tools/songdb.pl
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-09-03 11:43:15 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-09-03 11:43:15 +0000
commitff7f4e89425045a9d16a92c8c83669e45a2013ea (patch)
tree889391e96ad7ffb88fe8fa66e3135bc175e7040b /tools/songdb.pl
parentf79ada83b10aa3a34b5cacbbacf61084edfd6b94 (diff)
downloadrockbox-ff7f4e89425045a9d16a92c8c83669e45a2013ea.tar.gz
rockbox-ff7f4e89425045a9d16a92c8c83669e45a2013ea.zip
slight change in the bad CRC returned, to make rundb code handle it better.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7463 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/songdb.pl')
-rwxr-xr-xtools/songdb.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/songdb.pl b/tools/songdb.pl
index 5a3f0e985c..659457d554 100755
--- a/tools/songdb.pl
+++ b/tools/songdb.pl
@@ -191,7 +191,8 @@ sub crc32 {
191 my $len = 32*1024; 191 my $len = 32*1024;
192 192
193 if(!$crc) { 193 if(!$crc) {
194 return 1; # fixed bad CRC when disabled! 194 return 0; # fixed bad CRC when disabled!
195 # better to set to 0 cause the rundb code will handle it better that way.
195 } 196 }
196 197
197 if(!open(FILE, "<$filename")) { 198 if(!open(FILE, "<$filename")) {