Date: Thu, 1 Mar 2001 15:47:14 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Hans-Bernhard Broeker cc: djgpp workers list Subject: Re: strtol fix correct? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk On Thu, 1 Mar 2001, Hans-Bernhard Broeker wrote: > > If someone cares enough, they are welcome to do that, now that we > > don't have to rush into a long-overdue bug-fix release. > > Well, I do care, so here's the diff I would propose. A test compile > with my old GCC-2.8.1 cross-compiler on an Alpha/Tru64 box had no > complaints. Thanks. 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. The strto* functions took several iterations to get right, using this test suite as the testbed. Since these functions are used by *scanf family, the test suite puts them under a very good scrutiny.