Loading...
stdlib/FreeBSD/strtod.3.patch Libc-763.13 Libc-498
--- Libc/Libc-763.13/stdlib/FreeBSD/strtod.3.patch
+++ Libc/Libc-498/stdlib/FreeBSD/strtod.3.patch
@@ -1,6 +1,6 @@
---- strtod.3.orig	2010-04-29 10:40:21.000000000 -0700
-+++ strtod.3	2010-04-29 10:40:42.000000000 -0700
-@@ -45,11 +45,20 @@ string to floating point
+--- strtod.3	2004-11-25 11:38:42.000000000 -0800
++++ strtod.3.edit	2006-08-09 13:42:36.000000000 -0700
+@@ -49,11 +49,20 @@
  .Sh SYNOPSIS
  .In stdlib.h
  .Ft double
@@ -24,7 +24,7 @@
  .Sh DESCRIPTION
  These conversion
  functions convert the initial portion of the string
-@@ -62,16 +71,17 @@ and
+@@ -66,16 +75,17 @@
  .Vt "long double"
  representation, respectively.
  .Pp
@@ -49,7 +49,7 @@
  .El
  .Pp
  In both cases, the significand may be optionally followed by an
-@@ -116,6 +126,12 @@ function) are skipped.
+@@ -100,6 +110,12 @@
  The decimal point
  character is defined in the program's locale (category
  .Dv LC_NUMERIC ) .
@@ -62,21 +62,11 @@
  .Sh RETURN VALUES
  The
  .Fn strtod ,
-@@ -161,6 +177,7 @@ Overflow or underflow occurred.
+@@ -144,6 +160,7 @@
+ .Xr atof 3 ,
  .Xr atoi 3 ,
  .Xr atol 3 ,
- .Xr nan 3 ,
 +.Xr strtod_l 3 ,
  .Xr strtol 3 ,
  .Xr strtoul 3 ,
  .Xr wcstod 3
-@@ -169,8 +186,7 @@ The
- .Fn strtod
- function
- conforms to
--.St -isoC-99 ,
--with the exception of the bug noted below.
-+.St -isoC-99 .
- .Sh AUTHORS
- The author of this software is
- .An David M. Gay .