From 29cfb2f1a350285377a2f80958cf275bb784dee8 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 14 Oct 2025 06:30:16 +0000 Subject: [PATCH] correct articles including 'an NaN' -> 'a NaN', matching use in c99 and ieee 754 ok millert@ deraadt@ --- lib/libc/gen/signal.3 | 6 +++--- lib/libc/yp/yp_bind.3 | 6 +++--- lib/libm/man/fdim.3 | 6 +++--- lib/libm/man/fmax.3 | 8 ++++---- usr.sbin/authpf/authpf.8 | 8 ++++---- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3 index a36212abd50..d0ce94470c7 100644 --- a/lib/libc/gen/signal.3 +++ b/lib/libc/gen/signal.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: signal.3,v 1.59 2024/07/14 03:47:44 jsg Exp $ +.\" $OpenBSD: signal.3,v 1.60 2025/10/14 06:30:16 jsg Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 14 2024 $ +.Dd $Mdocdate: October 14 2025 $ .Dt SIGNAL 3 .Os .Sh NAME @@ -218,7 +218,7 @@ The affected system calls include and .Xr recvmsg 2 on a communications channel or a low-speed device -and during a +and during an .Xr ioctl 2 or .Xr wait 2 . diff --git a/lib/libc/yp/yp_bind.3 b/lib/libc/yp/yp_bind.3 index 32a6315ec34..1c429e9c0d3 100644 --- a/lib/libc/yp/yp_bind.3 +++ b/lib/libc/yp/yp_bind.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: yp_bind.3,v 1.2 2020/12/03 22:47:21 jmc Exp $ +.\" $OpenBSD: yp_bind.3,v 1.3 2025/10/14 06:30:16 jsg Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 3 2020 $ +.Dd $Mdocdate: October 14 2025 $ .Dt YP_BIND 3 .Os .Sh NAME @@ -248,7 +248,7 @@ Holds one of the return status values described in .In rpcsvc/yp_prot.h : see .Fn ypprot_err -below for a function that will translate YP protocol errors into a +below for a function that will translate YP protocol errors into an error code as described in .In rpcsvc/ypclnt.h . .It Fa inkey , inval diff --git a/lib/libm/man/fdim.3 b/lib/libm/man/fdim.3 index b22f00dead9..5c7470ad18f 100644 --- a/lib/libm/man/fdim.3 +++ b/lib/libm/man/fdim.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fdim.3,v 1.4 2025/06/07 10:33:06 schwarze Exp $ +.\" $OpenBSD: fdim.3,v 1.5 2025/10/14 06:30:16 jsg Exp $ .\" .\" Copyright (c) 2004 David Schultz .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/lib/msun/man/fdim.3,v 1.1 2004/06/30 07:04:01 das Exp $ .\" -.Dd $Mdocdate: June 7 2025 $ +.Dd $Mdocdate: October 14 2025 $ .Dt FDIM 3 .Os .Sh NAME @@ -62,7 +62,7 @@ If either .Fa x or .Fa y -is an NaN, then an NaN is returned. +is a NaN, then a NaN is returned. Otherwise, the result is .Li +0.0 . .Pp diff --git a/lib/libm/man/fmax.3 b/lib/libm/man/fmax.3 index 17fa79f05cb..6a222f48d25 100644 --- a/lib/libm/man/fmax.3 +++ b/lib/libm/man/fmax.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fmax.3,v 1.5 2025/06/13 18:34:00 schwarze Exp $ +.\" $OpenBSD: fmax.3,v 1.6 2025/10/14 06:30:16 jsg Exp $ .\" .\" Copyright (c) 2004 David Schultz .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/lib/msun/man/fmax.3,v 1.2 2005/01/14 09:12:05 ru Exp $ .\" -.Dd $Mdocdate: June 13 2025 $ +.Dd $Mdocdate: October 14 2025 $ .Dt FMAX 3 .Os .Sh NAME @@ -75,8 +75,8 @@ They treat .Li +0.0 as being larger than .Li -0.0 . -If one argument is an NaN, then the other argument is returned. -If both arguments are NaNs, then the result is an NaN. +If one argument is a NaN, then the other argument is returned. +If both arguments are NaNs, then the result is a NaN. These routines do not raise any floating-point exceptions. .Sh SEE ALSO .Xr fabs 3 , diff --git a/usr.sbin/authpf/authpf.8 b/usr.sbin/authpf/authpf.8 index a571435adff..9b9ff58ce4b 100644 --- a/usr.sbin/authpf/authpf.8 +++ b/usr.sbin/authpf/authpf.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: authpf.8,v 1.56 2022/02/18 23:17:16 jsg Exp $ +.\" $OpenBSD: authpf.8,v 1.57 2025/10/14 06:30:16 jsg Exp $ .\" .\" Copyright (c) 1998-2007 Bob Beck (beck@openbsd.org>. All rights reserved. .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 18 2022 $ +.Dd $Mdocdate: October 14 2025 $ .Dt AUTHPF 8 .Os .Sh NAME @@ -240,8 +240,8 @@ should be configured to use the .Ar ClientAliveInterval and .Ar ClientAliveCountMax -parameters to ensure that a ssh session is terminated quickly if -it becomes unresponsive, or if arp or address spoofing is used to +parameters to ensure that an SSH session is terminated quickly if +it becomes unresponsive, or if ARP or address spoofing is used to hijack the session. Note that TCP keepalives are not sufficient for this, since they are not secure.