Re: [wine-devel] re: [SOLVED] [PATCH]Where is the best place to report a fscanf bug found under wine-1.3.27?

2011-09-17 Thread Alan W. Irwin
On 2011-08-30 13:25-0700 Alan W. Irwin wrote: On 2011-08-30 08:33-0700 Dan Kegel wrote: Today I discovered .. that the scanf family of functions was introducing float (32-bit floating-point) noise into double (64-bit floating-point) results. I see it here, too: $ sudo apt-get install mingw3

re: [SOLVED] [PATCH]Where is the best place to report a fscanf bug found under wine-1.3.27?

2011-08-30 Thread Alan W. Irwin
On 2011-08-30 08:33-0700 Dan Kegel wrote: Today I discovered .. that the scanf family of functions was introducing float (32-bit floating-point) noise into double (64-bit floating-point) results. I see it here, too: $ sudo apt-get install mingw32 $ i586-mingw32msvc-gcc test_fscanf.c $ echo "1

Re: Where is the best place to report a fscanf bug found under wine-1.3.27?

2011-08-30 Thread Eric Pouech
Le 30/08/2011 20:38, Peter Rosin a écrit : 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 mu

Re: Where is the best place to report a fscanf bug found under wine-1.3.27?

2011-08-30 Thread Peter Rosin
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 a

Re: Where is the best place to report a fscanf bug found under wine-1.3.27?

2011-08-30 Thread 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. David -- David Laight: da...@l8s.co.uk

re: Where is the best place to report a fscanf bug found under wine-1.3.27?

2011-08-30 Thread Dan Kegel
> Today I discovered .. that the scanf family of functions was > introducing float (32-bit floating-point) noise into double (64-bit > floating-point) results. I see it here, too: $ sudo apt-get install mingw32 $ i586-mingw32msvc-gcc test_fscanf.c $ echo "1.1e+01 1.1e+00 1.1e-01 1.1e-02 1.1e-03 1

Where is the best place to report a fscanf bug found under wine-1.3.27?

2011-08-29 Thread Alan W. Irwin
Today I discovered while debugging a fairly complex application that I built under MinGW/MSYS/wine that the scanf family of functions was introducing float (32-bit floating-point) noise into double (64-bit floating-point) results. I implemented a simple test code to make it extremely easy to repl