-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Tony Godshall wrote:
> About the parser... I'm thinking I can hack the parser that now
> handles the K, M, etc. suffixes so it works as it did before but also
> sees a '%' suffix as valid- that would reduce the amount of code
> necessary to implement --limit-rate nn%.  Any reason not to do so?

The current parser, and in particular, the actual code that handles, K,
M, etc, is used by other options, for which percentages are not
appropriate. Plus, whereas those options have been taking doubles,
you'll now need some sort of struct to hold information as to whether
there's a percentage or a direct rate specified.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFcCq7M8hyUobTrERCGn6AJ9UbMiewkA3yi3XwIGl4S/omutWLACfWI4w
XyGBXgR5lp2UcO9vk1pUKYE=
=OxZY
-----END PGP SIGNATURE-----

Reply via email to