[MPlayer-dev-eng] octal and hex surprise and perplex

Guillaume POIRIER poirierg at gmail.com
Fri Jun 9 10:55:07 CEST 2006


Hi,

On 6/9/06, Alan Curry <pacman at theworld.com> wrote:

[..]

> Rather than remove the highly useful ability to specify DVD tracks by octal
> number (which would inevitably lead to a huge debate over which _other_
> integers should be decimal-only on the command line and/or in a config file)
> I suggest only the addition of a possibly helpful message which would appear
> in the middle of the insanity, like this:
>
>   Playing dvd://08.
>   The hostname option must be an integer: 08
>   Don't start a number with zero unless you intend it to be octal
>   Struct dvd, field hostname parsing error: 08

I'd say commit it unless someone disagrees. It's always better to give
a accurate warning/error message... ;)

Guillaume

[..]
-- 
"Success consists of going from failure to failure without loss of enthusiasm."
 -- Winston Churchill



More information about the MPlayer-dev-eng mailing list