Re: [Alsa-devel] [PATCH] conf.c: parsing floating point numbers

2002-07-03 Thread Takashi Iwai
At Tue, 02 Jul 2002 10:52:03 +0200, Clemens Ladisch wrote: > > When parse_value finds something looking like a number, it first calls > safe_strtoll to test whether the value's type is integer. > Unfortunately, safe_strtoll simply grabs anything which may be an > integer, and doesn't check for an

[Alsa-devel] [PATCH] conf.c: parsing floating point numbers

2002-07-02 Thread Clemens Ladisch
When parse_value finds something looking like a number, it first calls safe_strtoll to test whether the value's type is integer. Unfortunately, safe_strtoll simply grabs anything which may be an integer, and doesn't check for any following characters (e.g. the decimal point of a floating point num