• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Plugins
  • Assigned To
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by siber_cat - 2010-02-12
Last edited by mcuelenaere - 2010-02-13

FS#11007 - Unable to read negative numbers from file in Lua

As of r24615, the Lua interpreter won’t read negative numbers correctly from a file.
I was using it to flag certain numbers that were saved and loaded to a file between runnings of my Lua script. The attached file is a hacked down version of my script that helped me notice the bug.

Closed by  mcuelenaere
2010-02-13 14:41
Reason for closing:  Fixed
Additional comments about closing:  

In r24632.

There’s no attachment.

Are you sure r24615 is the culprit? Looks like that’s codec related..

After looking at the source code for the Lua plugin, I found it was a rather easy fix. Here (hopefully) is the patch for fixing this bug. And timer.lua was the original attachment.


Available keyboard shortcuts


Task Details

Task Editing