lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Many error msgs for all user-documents in lout 3.38 (MS Vista + Cygw


From: Jeff Kingston
Subject: Re: Many error msgs for all user-documents in lout 3.38 (MS Vista + Cygwin)
Date: Tue, 27 Jan 2009 05:14:28 +1100
User-agent: Mutt/1.4i

Could you explain what the issue is?  What is wrong, or ambiguous,
about %f in a scanf format?  It seems totally normal and unambiguous.

Jeff

On Mon, Jan 26, 2009 at 09:17:01PM +0800, KHMan wrote:
> I'm not really sure if newlib's sscanf is really at fault, because 
> its behaviour sounds wrong if we use "man scanf", but sounds right 
> if we use the ISO C draft standard n1256. So it seems all very 
> ambiguous...
> 
> -  if( sscanf((char *) str, "%f", &num) != 1 )
> +  if( sscanf((char *) str, "%31[0-9.]", &conv) != 1)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]