Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#8375 - Fix divide by zero

Attached to Project: Rockbox
Opened by Henri Valta (cg) - Wednesday, 26 December 2007, 22:15 GMT+2
Last edited by Steve Bavin (pondlife) - Thursday, 03 January 2008, 08:33 GMT+2
Task Type Patches
Category Database
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

This patch fixes divide by zero error when using database/recently added/<random> with no recently added files
   div0_recent_random.diff (0.4 KiB)
 apps/tagtree.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

This task depends upon

Closed by  Steve Bavin (pondlife)
Thursday, 03 January 2008, 08:33 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  No problem. But note that here we prefer to bagder than badger... ;-).

Committed the patch, thanks Henri.
Comment by Henri Valta (cg) - Wednesday, 26 December 2007, 22:35 GMT+2
Cleaned up the patch a bit...
   div0_recent_random_v2.diff (0.4 KiB)
 apps/tagtree.c |    2 ++
 1 file changed, 2 insertions(+)

Comment by Thomas Martitz (kugel.) - Wednesday, 02 January 2008, 02:08 GMT+2
No commit? This bug is indeed present.
Comment by Steve Bavin (pondlife) - Wednesday, 02 January 2008, 10:57 GMT+2
Give us a chance to get back to work...! I'll commit it soon.
Comment by Thomas Martitz (kugel.) - Wednesday, 02 January 2008, 14:34 GMT+2
Don't get me wrong. I just asked, I'd never badger. Sorry if I expressed myself wrongly.

Loading...