summaryrefslogtreecommitdiff
path: root/libiberty/strtod.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-03-18 20:01:35 +0000
committerDJ Delorie <dj@redhat.com>2002-03-18 20:01:35 +0000
commit1504972f60f011d4d79b032f164cafa4a45bf4c6 (patch)
tree1f6f60e8e658fbd6d50c44357154afc8fe24d8b5 /libiberty/strtod.c
parent177b4a6ad0047c8995fbc55016bc4f4b68d53b4a (diff)
downloadbinutils-gdb-1504972f60f011d4d79b032f164cafa4a45bf4c6.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/strtod.c')
-rw-r--r--libiberty/strtod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/strtod.c b/libiberty/strtod.c
index 6b69ccfa8d2..97fc9339344 100644
--- a/libiberty/strtod.c
+++ b/libiberty/strtod.c
@@ -1,5 +1,5 @@
/* 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
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[7] == 'y' || p[7] == 'Y'))
{
- *ptr = p + 7;
+ *ptr = p + 8;
return atof (str);
}
else