Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <4245AF8A.F24A3ABC@dessent.net> Date: Sat, 26 Mar 2005 10:52:58 -0800 From: Brian Dessent Organization: My own little world... MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: fscanf "%lf" misses the "-" sign in "-5.0e+00" on cygwin 1.5.13-1 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Isselmou dellahy wrote: > Hi, > 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 and forwarded to the newlib list here , 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. :) Brian -- 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/