Module Name:    src
Committed By:   rillig
Date:           Sun Sep  8 17:28:37 UTC 2024

Modified Files:
        src/bin/ksh: history.c ksh.Man var.c
        src/bin/pax: ftree.c
        src/share/man/man4: wsbell.4
        src/sys/arch/x68k/dev: mha.c
        src/sys/kern: subr_blist.c
        src/sys/netinet: sctp_usrreq.c

Log Message:
s/effect/affect/ in a few places


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/bin/ksh/history.c
cvs rdiff -u -r1.29 -r1.30 src/bin/ksh/ksh.Man
cvs rdiff -u -r1.25 -r1.26 src/bin/ksh/var.c
cvs rdiff -u -r1.45 -r1.46 src/bin/pax/ftree.c
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/wsbell.4
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/x68k/dev/mha.c
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/subr_blist.c
cvs rdiff -u -r1.26 -r1.27 src/sys/netinet/sctp_usrreq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/ksh/history.c
diff -u src/bin/ksh/history.c:1.19 src/bin/ksh/history.c:1.20
--- src/bin/ksh/history.c:1.19	Tue May  8 16:37:59 2018
+++ src/bin/ksh/history.c	Sun Sep  8 17:28:36 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: history.c,v 1.19 2018/05/08 16:37:59 kamil Exp $	*/
+/*	$NetBSD: history.c,v 1.20 2024/09/08 17:28:36 rillig Exp $	*/
 
 /*
  * command history
@@ -19,7 +19,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: history.c,v 1.19 2018/05/08 16:37:59 kamil Exp $");
+__RCSID("$NetBSD: history.c,v 1.20 2024/09/08 17:28:36 rillig Exp $");
 #endif
 
 #include <sys/stat.h>
@@ -325,7 +325,7 @@ hist_execute(cmd)
 	 * input 'cause posix says the redirection and variable assignments
 	 * in
 	 *	X=y fc -e - 42 2> /dev/null
-	 * are to effect the repeated commands environment.
+	 * are to affect the repeated commands environment.
 	 */
 	/* XXX: source should not get trashed by this.. */
 	sold = source;

Index: src/bin/ksh/ksh.Man
diff -u src/bin/ksh/ksh.Man:1.29 src/bin/ksh/ksh.Man:1.30
--- src/bin/ksh/ksh.Man:1.29	Sun Aug 21 20:12:37 2022
+++ src/bin/ksh/ksh.Man	Sun Sep  8 17:28:36 2024
@@ -1,5 +1,5 @@
 '\" t
-.\" $NetBSD: ksh.Man,v 1.29 2022/08/21 20:12:37 uwe Exp $
+.\" $NetBSD: ksh.Man,v 1.30 2024/09/08 17:28:36 rillig Exp $
 .\"{{{}}}
 .\"{{{  Notes about man page
 .\"     - use the pseudo-macros .sh( and .sh) to begin and end sh-specific
@@ -2198,7 +2198,7 @@ directories (\fIi.e.\fP,  the shell hand
 to be oblivious of symlink links to directories).
 Clear by default.
 Note that setting
-this option does not effect the current value of the \fBPWD\fP parameter;
+this option does not affect the current value of the \fBPWD\fP parameter;
 only the \fBcd\fP command changes \fBPWD\fP.
 See the \fBcd\fP and \fBpwd\fP commands above for more details.
 T}
@@ -2452,7 +2452,7 @@ command), in which case the output is sl
     sys    0.00
 .fi
 (the number of digits after the decimal may vary from system to system).
-Note that simple redirections of standard error do not effect the output
+Note that simple redirections of standard error do not affect the output
 of the time command:
 .ce
 \fBtime sleep 1 2> \fP\fIafile\fP

Index: src/bin/ksh/var.c
diff -u src/bin/ksh/var.c:1.25 src/bin/ksh/var.c:1.26
--- src/bin/ksh/var.c:1.25	Fri Jun  2 08:51:46 2023
+++ src/bin/ksh/var.c	Sun Sep  8 17:28:36 2024
@@ -1,9 +1,9 @@
-/*	$NetBSD: var.c,v 1.25 2023/06/02 08:51:46 andvar Exp $	*/
+/*	$NetBSD: var.c,v 1.26 2024/09/08 17:28:36 rillig Exp $	*/
 
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: var.c,v 1.25 2023/06/02 08:51:46 andvar Exp $");
+__RCSID("$NetBSD: var.c,v 1.26 2024/09/08 17:28:36 rillig Exp $");
 #endif
 
 #include <sys/stat.h>
@@ -1249,7 +1249,7 @@ set_array(var, reset, vals)
 		/* trash existing values and attributes */
 		unset(vp, 0);
 	/* todo: would be nice for assignment to completely succeed or
-	 * completely fail.  Only really effects integer arrays:
+	 * completely fail.  Only really affects integer arrays:
 	 * evaluation of some of vals[] may fail...
 	 */
 	for (i = 0; vals[i]; i++) {

Index: src/bin/pax/ftree.c
diff -u src/bin/pax/ftree.c:1.45 src/bin/pax/ftree.c:1.46
--- src/bin/pax/ftree.c:1.45	Sun Sep  8 09:36:45 2024
+++ src/bin/pax/ftree.c	Sun Sep  8 17:28:36 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: ftree.c,v 1.45 2024/09/08 09:36:45 rillig Exp $	*/
+/*	$NetBSD: ftree.c,v 1.46 2024/09/08 17:28:36 rillig Exp $	*/
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -71,7 +71,7 @@
 #if 0
 static char sccsid[] = "@(#)ftree.c	8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: ftree.c,v 1.45 2024/09/08 09:36:45 rillig Exp $");
+__RCSID("$NetBSD: ftree.c,v 1.46 2024/09/08 17:28:36 rillig Exp $");
 #endif
 #endif /* not lint */
 
@@ -170,7 +170,7 @@ ftree_start(void)
 	ftsopts = FTS_NOCHDIR;
 
 	/*
-	 * optional user flags that effect file traversal
+	 * optional user flags that affect file traversal
 	 * -H command line symlink follow only (half follow)
 	 * -L follow sylinks (logical)
 	 * -P do not follow sylinks (physical). This is the default.

Index: src/share/man/man4/wsbell.4
diff -u src/share/man/man4/wsbell.4:1.1 src/share/man/man4/wsbell.4:1.2
--- src/share/man/man4/wsbell.4:1.1	Tue Jun 13 06:27:10 2017
+++ src/share/man/man4/wsbell.4	Sun Sep  8 17:28:36 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: wsbell.4,v 1.1 2017/06/13 06:27:10 nat Exp $
+.\" $NetBSD: wsbell.4,v 1.2 2024/09/08 17:28:36 rillig Exp $
 .\"
 .\" Copyright (c) 2017 Nathanial Sloss <nathanialsl...@yahoo.com.au>
 .\" All rights reserved.
@@ -48,7 +48,7 @@ sounds the bell.
 .Pp
 The
 .Xr wsconsctl 8
-utility gives access to several configurable parameters that effect the sound
+utility gives access to several configurable parameters that affect the sound
 of the system bell.
 .Ss Ioctls
 The following

Index: src/sys/arch/x68k/dev/mha.c
diff -u src/sys/arch/x68k/dev/mha.c:1.61 src/sys/arch/x68k/dev/mha.c:1.62
--- src/sys/arch/x68k/dev/mha.c:1.61	Sun Jan  7 07:58:33 2024
+++ src/sys/arch/x68k/dev/mha.c	Sun Sep  8 17:28:36 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: mha.c,v 1.61 2024/01/07 07:58:33 isaki Exp $	*/
+/*	$NetBSD: mha.c,v 1.62 2024/09/08 17:28:36 rillig Exp $	*/
 
 /*-
  * Copyright (c) 1996-1999 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mha.c,v 1.61 2024/01/07 07:58:33 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mha.c,v 1.62 2024/09/08 17:28:36 rillig Exp $");
 
 #include "opt_ddb.h"
 
@@ -1042,7 +1042,7 @@ mha_msgin(struct mha_softc *sc)
 		/*
 		 * This testing is suboptimal, but most
 		 * messages will be of the one byte variety, so
-		 * it should not effect performance
+		 * it should not affect performance
 		 * significantly.
 		 */
 		if (sc->sc_imlen == 1 && MSG_IS1BYTE(sc->sc_imess[0]))

Index: src/sys/kern/subr_blist.c
diff -u src/sys/kern/subr_blist.c:1.15 src/sys/kern/subr_blist.c:1.16
--- src/sys/kern/subr_blist.c:1.15	Tue May 31 08:43:16 2022
+++ src/sys/kern/subr_blist.c	Sun Sep  8 17:28:36 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: subr_blist.c,v 1.15 2022/05/31 08:43:16 andvar Exp $	*/
+/*	$NetBSD: subr_blist.c,v 1.16 2024/09/08 17:28:36 rillig Exp $	*/
 
 /*-
  * Copyright (c) 1998 Matthew Dillon.  All Rights Reserved.
@@ -77,7 +77,7 @@
  *	NOTE: the allocator cannot currently allocate more than 
  *	BLIST_BMAP_RADIX blocks per call.  It will panic with 'allocation too 
  *	large' if you try.  This is an area that could use improvement.  The 
- *	radix is large enough that this restriction does not effect the swap 
+ *	radix is large enough that this restriction does not affect the swap 
  *	system, though.  Currently only the allocation code is effected by
  *	this algorithmic unfeature.  The freeing code can handle arbitrary
  *	ranges.
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_blist.c,v 1.15 2022/05/31 08:43:16 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_blist.c,v 1.16 2024/09/08 17:28:36 rillig Exp $");
 #if 0
 __FBSDID("$FreeBSD: src/sys/kern/subr_blist.c,v 1.17 2004/06/04 04:03:25 alc Exp $");
 #endif

Index: src/sys/netinet/sctp_usrreq.c
diff -u src/sys/netinet/sctp_usrreq.c:1.26 src/sys/netinet/sctp_usrreq.c:1.27
--- src/sys/netinet/sctp_usrreq.c:1.26	Sun Sep  8 09:36:52 2024
+++ src/sys/netinet/sctp_usrreq.c	Sun Sep  8 17:28:37 2024
@@ -1,5 +1,5 @@
 /*	$KAME: sctp_usrreq.c,v 1.50 2005/06/16 20:45:29 jinmei Exp $	*/
-/*	$NetBSD: sctp_usrreq.c,v 1.26 2024/09/08 09:36:52 rillig Exp $	*/
+/*	$NetBSD: sctp_usrreq.c,v 1.27 2024/09/08 17:28:37 rillig Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@@ -33,7 +33,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_usrreq.c,v 1.26 2024/09/08 09:36:52 rillig Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_usrreq.c,v 1.27 2024/09/08 17:28:37 rillig Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -2431,7 +2431,7 @@ sctp_optsset(struct socket *so, struct s
 			set_opt = SCTP_PCB_FLAGS_AUTOCLOSE;
 			/*
 			 * The value is in ticks.
-			 * Note this does not effect old associations, only
+			 * Note this does not affect old associations, only
 			 * new ones.
 			 */
 			inp->sctp_ep.auto_close_time = (*mopt * hz);

Reply via email to