On Thu, 6 Jun 2002, Melvin Hadasht wrote:

> Hi,
> 
> on Thu, 6 Jun 2002 10:37:57 +0200
> Melvin Hadasht <[EMAIL PROTECTED]> wrote:
> 
>  > on Mon, 20 May 2002 13:29:07 +0200
>  > Melvin Hadasht <[EMAIL PROTECTED]> wrote:
>  > 
>  >  > Unhandled Error: The value "0.50" is not a number between 0 and 1 and is
> thus
>  >  > invalid for the key "order-num".
> 
> In fact, the problem is locale dependent. I was running the code with
> LC_ALL=fr_FR, the code sets the locales when starting. So strtod("0.5") is
> recognised as 0 because the '.' is not the decimal separator in French (it is
> the comma ','). If I run the code with LC_ALL=en_GB or equivalent, I do not have
> the error. So I think we can call it a bug?

Well my code should not be locale dependent, so yes I guess its a bug.  

> My first explanation concerning the semi-colon after 0.5 and the test of the
> tailprt != '\0' is false:

Even so, the semicolon should not be there.

> Kevin, did anyone volunteer to continue your work? The new spell is a good piece
> of code, it must continue. Thanks for your work.

NO, not yet.

-- 
http://kevin.atkinson.dhs.org


_______________________________________________
Aspell-devel mailing list
[EMAIL PROTECTED]
http://mail.freesoftware.fsf.org/mailman/listinfo/aspell-devel

Reply via email to