Module Name: src Committed By: riastradh Date: Mon Nov 7 21:51:42 UTC 2016
Modified Files: src/lib/libc/stdlib: strtod.3 Log Message: Fix phrasing about `out-of-band' and `sentinel value'. Either an out-of-band channel, or an in-band sentinel value, could indicate an error, but an out-of-band sentinel value is a silly proposition. Noted by uwe@. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/lib/libc/stdlib/strtod.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/stdlib/strtod.3 diff -u src/lib/libc/stdlib/strtod.3:1.27 src/lib/libc/stdlib/strtod.3:1.28 --- src/lib/libc/stdlib/strtod.3:1.27 Fri Nov 4 20:06:09 2016 +++ src/lib/libc/stdlib/strtod.3 Mon Nov 7 21:51:42 2016 @@ -1,4 +1,4 @@ -.\" $NetBSD: strtod.3,v 1.27 2016/11/04 20:06:09 riastradh Exp $ +.\" $NetBSD: strtod.3,v 1.28 2016/11/07 21:51:42 riastradh Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -171,9 +171,9 @@ the closest subnormal value, or zero, is is stored in .Va errno . .Sh EXAMPLES -Since there is no out-of-band sentinel value to indicate an error, -callers who wish to know whether there was overflow or underflow must -set +Since there is no out-of-band channel or sentinel value to indicate an +error, callers who wish to know whether there was overflow or underflow +must set .Va errno to zero before calling .Fn strtod ,