strtod.c (_strtod_r): Logic to check for missing digits after exponent had 'else' attached to wrong 'if'.
* strtod.c (_strtod_r): Logic to check for missing digits after exponent had 'else' attached to wrong 'if'. From-SVN: r46132
This commit is contained in:
parent
19eb1ad779
commit
d1d8ed9877
|
@ -1,3 +1,8 @@
|
||||||
|
2001-10-09 Per Bothner <per@bothner.com>
|
||||||
|
|
||||||
|
* strtod.c (_strtod_r): Logic to check for missing digits
|
||||||
|
after exponent had 'else' attached to wrong 'if'.
|
||||||
|
|
||||||
2001-10-09 Mark Wielaard <mark@klomp.org>
|
2001-10-09 Mark Wielaard <mark@klomp.org>
|
||||||
|
|
||||||
* java/net/SocketImpl.java: Merge with Classpath
|
* java/net/SocketImpl.java: Merge with Classpath
|
||||||
|
|
|
@ -242,16 +242,15 @@ dig_done:
|
||||||
if (esign)
|
if (esign)
|
||||||
e = -e;
|
e = -e;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
/* No exponent after an 'E' : that's an error. */
|
|
||||||
ptr->_errno = EINVAL;
|
|
||||||
e = 0;
|
|
||||||
goto ret;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
s = s00;
|
{
|
||||||
|
/* No exponent after an 'E' : that's an error. */
|
||||||
|
ptr->_errno = EINVAL;
|
||||||
|
e = 0;
|
||||||
|
s = s00;
|
||||||
|
goto ret;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!nd)
|
if (!nd)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue