Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: bagder: tools songdb.pl,1.40,1.41

Re: bagder: tools songdb.pl,1.40,1.41

From: Tomas <tomas_at_salfischberger.nl>
Date: 2005-09-09

Ah, I didn't know it was an unsigned 32 bits number :)

Tomas

Daniel Stenberg wrote:

> On Fri, 9 Sep 2005, Tomas wrote:
>
>> Why not use negative error codes? Like -1 = no CRC, -2 = error? Then
>> we can just use 0 as a valid CRC..
>
>
> The CRC value stored in the database is using all 32bits. All values
> are legitimate CRC values, including zero. But the code treats the
> zero special, which I've now hacked around by making sure the tool
> doesn't generate a zero CRC.
>
> The right fix is to use an additional bit somewhere to enable/disable
> CRC.
>
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on Fri Sep 9 14:41:16 2005


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa