Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 17 Oct 2012 12:52:18 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: remaining gnulib/glibc incompatibilities

* John Spencer <maillist-musl@...fooze.de> [2012-10-16 19:51:42 +0200]:
> http://sprunge.us/EfdS and strtod expects "nan()" to be accepted.

this one can be easily fixed

(it seems gratuitous complexity in the standard, but that's how it is)

i don't know the internals of floatscan though
i guess the 'pok' argument tells if putback is ok
and if it's false then at most one putback is allowed

if arbitrary long putback is possible when pok==1
then i can create a patch (that always returns the
same nan for all correct nan(...) formats)

otherwise we can add support for "nan" and "nan()" only

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.