mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-19 03:43:59 +08:00
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>
|
||||
|
||||
* java/net/SocketImpl.java: Merge with Classpath
|
||||
|
@ -242,16 +242,15 @@ dig_done:
|
||||
if (esign)
|
||||
e = -e;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* No exponent after an 'E' : that's an error. */
|
||||
ptr->_errno = EINVAL;
|
||||
e = 0;
|
||||
goto ret;
|
||||
}
|
||||
}
|
||||
else
|
||||
s = s00;
|
||||
{
|
||||
/* No exponent after an 'E' : that's an error. */
|
||||
ptr->_errno = EINVAL;
|
||||
e = 0;
|
||||
s = s00;
|
||||
goto ret;
|
||||
}
|
||||
}
|
||||
if (!nd)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user