delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/01/15:40:19

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3A9EB0E5.D8CE3E05@phekda.freeserve.co.uk>
Date: Thu, 01 Mar 2001 20:28:21 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: strtol fix correct?
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010301155349 DOT 7052C-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Eli Zaretskii wrote:
> 
> On Thu, 1 Mar 2001, Hans-Bernhard Broeker wrote:
> 
> > On Thu, 1 Mar 2001, Eli Zaretskii wrote:
> >
> > > But please compile with GCC 2.95.2 (it's more picky) as a native
> > > DJGPP compilation, and please run the Cygnus test suite ("make" in
> > > the tests/cygnus directory) after you rebuild the library.
[snip]
> There's no rush; whenever you, or someone else have time, please test
> that.

I patched a copy of DJGPP CVS and ran the tests. The summary info is:

    Tested 63223 functions, 410 errors detected

The section around strtol()'s test looks like this:

...
testing ecvtbuf
testing ecvt/ecvtf
testing strtod
testing nan
testing nan print
testing nanf
testing nanf print
testing infinity
testing infinity print
testing infinityf
testing infinityf print
testing scanf
testing sprintf
testing atof
testing atoff
testing strtodf
testing atoi
testing atol
testing strtol
testing strcmp
testing strcpy
...

so Hans-Bernhard's fix appears to be OK. I can send the whole test
results, if you're interested.

Bye, Rich =]

-- 
Richard Dawe <richdawe AT bigfoot DOT com> http://www.bigfoot.com/~richdawe/ 

"The soul is the mirror of an indestructible universe."
--- Gottfried W. Leibniz

- Raw text -


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