Where is the best place to report a fscanf bug found under wine-1.3.27?
Peter Rosin
peda at lysator.liu.se
Tue Aug 30 13:38:06 CDT 2011
Den 2011-08-30 20:18 skrev David Laight:
> On Mon, Aug 29, 2011 at 06:43:41PM -0700, Alan W. Irwin wrote:
>> double x;
>> while(fscanf(stdin, " %le ", &x) == 1)
>
> You are using the wrong format, %le is for 'long double', this will
> probably overwrite too much data.
Nope, you are mistaken and the OP is correct.
%e float
%le double
%Le long double
Cheers,
Peter
More information about the wine-devel
mailing list