¡Hola Ben! El 2017-08-27 a las 06:21 -0700, Ben Wong escribió:
Package: radio Version: 3.103-3+b1 Severity: normal Tags: patch
Dear Maintainer,
To replicate: Run 'radio -f 107.7' Expected result: Frequency should be 107.7. Actual result: Frequency is 107.69.
The 'radio' program uses floating point when reading in the frequency from the user. (E.g. "107.7"). However, the frequency actually set are usually wrong due to floating point rounding.
The fix is to read the input as a string and manipulate it as characters. I've included a patch which does exactly that.
Sorry that it took me so long to reply your email.You are reporting an upstream issue, and it seems to me that it would be better if you send this kind of patches upstream directly. You can contact upstream through the linux-media mailing list: linux-me...@vger.kernel.org
Although the project is no longer in active development the still accept patches/fixes.
Happy hacking, -- "People get lost in thought because it is unfamiliar territory." -- Fix's Principle Saludos /\/\ /\ >< `/
signature.asc
Description: PGP signature