public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* RE: c/2762: scanf and sscanf failed to handle floating point values
@ 2001-05-07 22:16 Billinghurst, David (CRTS)
  0 siblings, 0 replies; 3+ messages in thread
From: Billinghurst, David (CRTS) @ 2001-05-07 22:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/2762; it has been noted by GNATS.

From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
To: "'gcc-gnats@gcc.gnu.org'" <gcc-gnats@gcc.gnu.org>,
        "'hhuang@cs.columbia.edu'" <hhuang@cs.columbia.edu>,
        nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org
Subject: RE: c/2762: scanf and sscanf failed to handle floating point valu
	es
Date: Tue, 8 May 2001 05:11:37 -0000 

 This is a known problem with cygwin 1.3.1.  It is fixed in develpment
 snapshots, and will be fixed in cygwin 1.3.2
 
 It is not a gcc problem.
 
 > -----Original Message-----
 > From:	hhuang@cs.columbia.edu [SMTP:hhuang@cs.columbia.edu]
 > Sent:	Tuesday, 8 May 2001 2:45
 > To:	nobody@gcc.gnu.org
 > Cc:	gcc-prs@gcc.gnu.org; gcc-bugs@gcc.gnu.org
 > Subject:	c/2762: scanf and sscanf failed to handle floating point
 > values
 > 
 > 
 > >Number:         2762
 > >Category:       c
 > >Synopsis:       scanf and sscanf failed to handle floating point values
 > >Confidential:   no
 > >Severity:       critical
 > >Priority:       high
 > >Responsible:    unassigned
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Mon May 07 09:46:01 PDT 2001
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Hao Huang
 > >Release:        gcc version 2.95.3-4 (cygwin special)
 > >Organization:
 > >Environment:
 > Intel Pentium III 733
 > Windows 2000 Pro SP1 with cygwin 1.3.1
 > >Description:
 > scanf and sscanf failed to produce the correct floating point values.
 > Here is the result from the code:
 > 
 > str:  SIZE_SPACE: 13.5   11.6 1.    1.
 > size: 135.000000 116.000000 1.000000 1.000000
 > file: SIZE_SPACE: 13.5   11.6 1.    1.
 > size: -135.000000 116.000000 1.000000 NaN
 > c++:  SIZE_SPACE: 13.5   11.6 1.    1.
 > size: 13.500000 11.600000 1.000000 1.000000
 > >How-To-Repeat:
 > compile the code and run it.
 > >Fix:
 > 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c/2762: scanf and sscanf failed to handle floating point values
@ 2001-05-07 10:56 Christopher Faylor
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Faylor @ 2001-05-07 10:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/2762; it has been noted by GNATS.

From: Christopher Faylor <cgf@redhat.com>
To: hhuang@cs.columbia.edu
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c/2762: scanf and sscanf failed to handle floating point values
Date: Mon, 7 May 2001 13:53:31 -0400

 This is not a GCC problem.  Please ignore it.
 
 cgf
 
 On Mon, May 07, 2001 at 04:44:47PM -0000, hhuang@cs.columbia.edu wrote:
 >
 >>Number:         2762
 >>Category:       c
 >>Synopsis:       scanf and sscanf failed to handle floating point values
 >>Confidential:   no
 >>Severity:       critical
 >>Priority:       high
 >>Responsible:    unassigned
 >>State:          open
 >>Class:          sw-bug
 >>Submitter-Id:   net
 >>Arrival-Date:   Mon May 07 09:46:01 PDT 2001
 >>Closed-Date:
 >>Last-Modified:
 >>Originator:     Hao Huang
 >>Release:        gcc version 2.95.3-4 (cygwin special)
 >>Organization:
 >>Environment:
 >Intel Pentium III 733
 >Windows 2000 Pro SP1 with cygwin 1.3.1
 >>Description:
 >scanf and sscanf failed to produce the correct floating point values.  Here is the result from the code:
 >
 >str:  SIZE_SPACE: 13.5   11.6 1.    1.
 >size: 135.000000 116.000000 1.000000 1.000000
 >file: SIZE_SPACE: 13.5   11.6 1.    1.
 >size: -135.000000 116.000000 1.000000 NaN
 >c++:  SIZE_SPACE: 13.5   11.6 1.    1.
 >size: 13.500000 11.600000 1.000000 1.000000
 >>How-To-Repeat:
 >compile the code and run it.
 >>Fix:
 >
 >>Release-Note:
 >>Audit-Trail:
 >>Unformatted:
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c/2762: scanf and sscanf failed to handle floating point values
@ 2001-05-07  9:46 hhuang
  0 siblings, 0 replies; 3+ messages in thread
From: hhuang @ 2001-05-07  9:46 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2762
>Category:       c
>Synopsis:       scanf and sscanf failed to handle floating point values
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 07 09:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hao Huang
>Release:        gcc version 2.95.3-4 (cygwin special)
>Organization:
>Environment:
Intel Pentium III 733
Windows 2000 Pro SP1 with cygwin 1.3.1
>Description:
scanf and sscanf failed to produce the correct floating point values.  Here is the result from the code:

str:  SIZE_SPACE: 13.5   11.6 1.    1.
size: 135.000000 116.000000 1.000000 1.000000
file: SIZE_SPACE: 13.5   11.6 1.    1.
size: -135.000000 116.000000 1.000000 NaN
c++:  SIZE_SPACE: 13.5   11.6 1.    1.
size: 13.500000 11.600000 1.000000 1.000000
>How-To-Repeat:
compile the code and run it.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-07 22:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-07 22:16 c/2762: scanf and sscanf failed to handle floating point values Billinghurst, David (CRTS)
  -- strict thread matches above, loose matches on Subject: below --
2001-05-07 10:56 Christopher Faylor
2001-05-07  9:46 hhuang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).