forked from Imagelibrary/binutils-gdb
merge from gcc
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
|
||||||
|
|
||||||
|
* strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
|
||||||
|
seen.
|
||||||
|
|
||||||
2002-03-12 Mark Mitchell <mark@codesourcery.com>
|
2002-03-12 Mark Mitchell <mark@codesourcery.com>
|
||||||
|
|
||||||
* cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
|
* cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* Implementation of strtod for systems with atof.
|
/* Implementation of strtod for systems with atof.
|
||||||
Copyright (C) 1991, 1995 Free Software Foundation, Inc.
|
Copyright (C) 1991, 1995, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of the libiberty library. This library is free
|
This file is part of the libiberty library. This library is free
|
||||||
software; you can redistribute it and/or modify it under the
|
software; you can redistribute it and/or modify it under the
|
||||||
@@ -75,7 +75,7 @@ strtod (str, ptr)
|
|||||||
&& (p[6] == 't' || p[6] == 'T')
|
&& (p[6] == 't' || p[6] == 'T')
|
||||||
&& (p[7] == 'y' || p[7] == 'Y'))
|
&& (p[7] == 'y' || p[7] == 'Y'))
|
||||||
{
|
{
|
||||||
*ptr = p + 7;
|
*ptr = p + 8;
|
||||||
return atof (str);
|
return atof (str);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user