In is_number(), do not check strtod() result against HUGE_VAL which
commit77c7a4eefa63c4caeb4f82542c296a7c57bd66d7
authorNicolas Joly <njoly@NetBSD.org>
Thu, 12 Mar 2009 13:04:01 +0000 (12 13:04 +0000)
committerNicolas Joly <njoly@NetBSD.org>
Thu, 12 Mar 2009 13:04:01 +0000 (12 13:04 +0000)
treed7d1e64a1a29b2c27d0e287bb6e53a95d043ddfe
parent32dc6a98bf11f6b51a3e5d3c2d4f6cfe5b119723
In is_number(), do not check strtod() result against HUGE_VAL which
will result in a SIGFPE on non IEEE hardware. Instead, check the
provided buffer for "nan" string.

This make native build work again on alpha.
dist/nawk/lib.c