FS#5934 - bug #5529 patch
Opened by Yoshihisa Uchida (Uchida) - Sunday, 03 September 2006, 19:20 GMT
Bug #5529 happnes the following reason.
If for some N (N = 0,1,2,3,...),
"tagcache_N.tcd"'s file size (byte) > 24 * commit_entry_count(i.e. commited song file count). (A)
the function "tempbuf_locate" (defines tagcache.c) failed because the value of LOOKUP_BUF_DEPTH
(defines tagcache.c) was too small.
So that, it terminates abnormally while processing "Committing tagcache [N/13]".
This patch file is corrected to match the value of LOOKUP_BUF_DEPTH to the size of actual file tagcache_N.tcd (N = 0,1,2,...), and to set it, and condition (A) will not be approved and exists.
Tuesday, 26 September 2006, 11:58 GMT
Reason for closing: Accepted
Additional comments about closing: Slasheri has committed a fix for this now, at least partly inspired by this patch.