delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/05/22/06:37:31

X-Sybari-Space: 00000000 00000000 00000000 00000000
From: Martin Stromberg <eplmst AT epl DOT ericsson DOT se>
Message-Id: <200305221037.MAA05886@lws256.lu.erisoft.se>
Subject: Re: LIBC patch for GCC 3.3 - part #1
To: djgpp-workers AT delorie DOT com
Date: Thu, 22 May 2003 12:37:25 +0200 (MET DST)
In-Reply-To: <006001c32045$dd90c330$0100a8c0@acp42g> from "Andrew Cottrell" at May 22, 2003 07:38:12 PM
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Any one got any feedback on this one?
...
> > *** src\libc\ansi\stdlib\strtod_old.c   Mon May 19 20:12:32 2003
> > --- src\libc\ansi\stdlib\strtod.c       Mon May 19 20:12:18 2003
> > *************** strtod(const char *s, char **sret)
> > *** 89,95 ****
> >         mantissa_bits = strtoull(&s[4], &endptr, 16);
> >         if ( *endptr == ')' )
> >         {
> > !       mantissa_bits = mantissa_bits & 0xfffffffffffff;
> >         if( mantissa_bits )
> >         {
> >           n.mantissal = mantissa_bits & 0xffffffff;
> > --- 89,95 ----
> >         mantissa_bits = strtoull(&s[4], &endptr, 16);
> >         if ( *endptr == ')' )
> >         {
> > !       mantissa_bits = mantissa_bits & 0xfffffffffffffLL;
> >         if( mantissa_bits )
> >         {
> >           n.mantissal = mantissa_bits & 0xffffffff;

As the one that commited the above, if this removes any warnings go
ahead. (Likewise for the other almost identical one.)


Right,

						MartinS

- Raw text -


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