delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/01/15:17:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 1 Apr 2005 15:17:34 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: fscanf "%lf" misses the "-" sign in "-5.0e+00" on cygwin 1.5.13-1
Message-ID: <20050401201734.GA29015@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <BAY101-F28F2F60B5B45DA577541F1BC420 AT phx DOT gbl> <4245AF8A DOT F24A3ABC AT dessent DOT net>
Mime-Version: 1.0
In-Reply-To: <4245AF8A.F24A3ABC@dessent.net>
User-Agent: Mutt/1.5.8i

On Sat, Mar 26, 2005 at 10:52:58AM -0800, Brian Dessent wrote:
>Isselmou dellahy wrote:
>>I'm using cygwin 1.5.13-1 and gcc version 3.3.3 to compile the following
>>foo.C :
>>...
>>The compiler does'nt show any warning and when executed prints:
>>
>>n=1 x=5.000000
>>
>>missing the "-" sign.
>
>You're seeing the same bug that was reported here
><http://sourceware.org/ml/cygwin/2005-03/msg00342.html> and forwarded
>to the newlib list here
><http://sourceware.org/ml/newlib/2005/msg00173.html>, currently with no
>replies.  It's a newlib problem, so make noise over there.  I'm sure
>they'd love a patch to fix it.  :)

Corinna submitted a patch for this to the newlib mailing list yesterday.
The fix will be in the soon-to-be-released 1.5.14.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019