Module Name: src Committed By: andvar Date: Fri Jun 2 08:51:48 UTC 2023
Modified Files: src/bin/ksh: var.c src/libexec/ld.elf_so/arch/sparc: mdreloc.c src/share/man/man4: dge.4 src/sys/arch/riscv/conf: GENERIC.common src/sys/arch/sparc/include: param.h src/sys/arch/sparc/sparc: timer_sun4m.c src/sys/arch/sparc64/sparc64: pmap.c src/sys/arch/sun2/sun2: pmap.c src/sys/arch/sun3/sun3: pmap.c src/sys/arch/vax/vax: ctu.c src/sys/dev/ic: mb86960.c src/sys/dev/pci: if_sip.c src/sys/fs/msdosfs: msdosfs_conv.c src/sys/fs/udf: udf_rename.c src/sys/netinet: sctp_pcb.h src/tests/lib/libcurses/tests: mutt_test Log Message: follow the steps of Andrew Doran (ad) commit and fix more s/loose/lose/ typos. also s/beyound/beyond/ and few others along the way, mainly in comments. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/bin/ksh/var.c cvs rdiff -u -r1.55 -r1.56 src/libexec/ld.elf_so/arch/sparc/mdreloc.c cvs rdiff -u -r1.11 -r1.12 src/share/man/man4/dge.4 cvs rdiff -u -r1.3 -r1.4 src/sys/arch/riscv/conf/GENERIC.common cvs rdiff -u -r1.74 -r1.75 src/sys/arch/sparc/include/param.h cvs rdiff -u -r1.32 -r1.33 src/sys/arch/sparc/sparc/timer_sun4m.c cvs rdiff -u -r1.316 -r1.317 src/sys/arch/sparc64/sparc64/pmap.c cvs rdiff -u -r1.49 -r1.50 src/sys/arch/sun2/sun2/pmap.c cvs rdiff -u -r1.173 -r1.174 src/sys/arch/sun3/sun3/pmap.c cvs rdiff -u -r1.37 -r1.38 src/sys/arch/vax/vax/ctu.c cvs rdiff -u -r1.96 -r1.97 src/sys/dev/ic/mb86960.c cvs rdiff -u -r1.189 -r1.190 src/sys/dev/pci/if_sip.c cvs rdiff -u -r1.19 -r1.20 src/sys/fs/msdosfs/msdosfs_conv.c cvs rdiff -u -r1.14 -r1.15 src/sys/fs/udf/udf_rename.c cvs rdiff -u -r1.7 -r1.8 src/sys/netinet/sctp_pcb.h cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libcurses/tests/mutt_test 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/var.c diff -u src/bin/ksh/var.c:1.24 src/bin/ksh/var.c:1.25 --- src/bin/ksh/var.c:1.24 Tue May 8 16:37:59 2018 +++ src/bin/ksh/var.c Fri Jun 2 08:51:46 2023 @@ -1,9 +1,9 @@ -/* $NetBSD: var.c,v 1.24 2018/05/08 16:37:59 kamil Exp $ */ +/* $NetBSD: var.c,v 1.25 2023/06/02 08:51:46 andvar Exp $ */ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: var.c,v 1.24 2018/05/08 16:37:59 kamil Exp $"); +__RCSID("$NetBSD: var.c,v 1.25 2023/06/02 08:51:46 andvar Exp $"); #endif #include <sys/stat.h> @@ -1136,7 +1136,7 @@ unsetspec(vp) * set in various places. * Don't know what at&t does for: * MAIL, MAILPATH, HISTSIZE, HISTFILE, - * Unsetting these in at&t ksh does not loose the `specialness': + * Unsetting these in at&t ksh does not lose the `specialness': * no effect: IFS, COLUMNS, PATH, TMPDIR, * VISUAL, EDITOR, * pdkshisms: no effect: Index: src/libexec/ld.elf_so/arch/sparc/mdreloc.c diff -u src/libexec/ld.elf_so/arch/sparc/mdreloc.c:1.55 src/libexec/ld.elf_so/arch/sparc/mdreloc.c:1.56 --- src/libexec/ld.elf_so/arch/sparc/mdreloc.c:1.55 Tue Apr 3 21:10:27 2018 +++ src/libexec/ld.elf_so/arch/sparc/mdreloc.c Fri Jun 2 08:51:46 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: mdreloc.c,v 1.55 2018/04/03 21:10:27 joerg Exp $ */ +/* $NetBSD: mdreloc.c,v 1.56 2023/06/02 08:51:46 andvar Exp $ */ /*- * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: mdreloc.c,v 1.55 2018/04/03 21:10:27 joerg Exp $"); +__RCSID("$NetBSD: mdreloc.c,v 1.56 2023/06/02 08:51:46 andvar Exp $"); #endif /* not lint */ #include <machine/elf_support.h> @@ -301,7 +301,7 @@ _rtld_relocate_nonplt_objects(Obj_Entry /* * If it is no TLS relocation (handled above), we can not - * deal with it if it is beyound R_SPARC_6. + * deal with it if it is beyond R_SPARC_6. */ if (type > R_TYPE(6)) return (-1); Index: src/share/man/man4/dge.4 diff -u src/share/man/man4/dge.4:1.11 src/share/man/man4/dge.4:1.12 --- src/share/man/man4/dge.4:1.11 Mon Jul 3 21:30:58 2017 +++ src/share/man/man4/dge.4 Fri Jun 2 08:51:46 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: dge.4,v 1.11 2017/07/03 21:30:58 wiz Exp $ +.\" $NetBSD: dge.4,v 1.12 2023/06/02 08:51:46 andvar Exp $ .\" .\" Copyright (c) 2004, SUNET, Swedish University Computer Network. .\" All rights reserved. @@ -94,7 +94,7 @@ and the chip will be reset to resume nor .It dge%d: Receive overrun If the computer is under heavy load, the software may not be able to keep up removing received datagrams from the receive queue, and -will therefore loose datagrams. +will therefore lose datagrams. To avoid this, check that the other end is using the XON/XOFF protocol, if possible, or increase the receive descriptor ring size in the driver. Index: src/sys/arch/riscv/conf/GENERIC.common diff -u src/sys/arch/riscv/conf/GENERIC.common:1.3 src/sys/arch/riscv/conf/GENERIC.common:1.4 --- src/sys/arch/riscv/conf/GENERIC.common:1.3 Thu Jun 1 20:15:16 2023 +++ src/sys/arch/riscv/conf/GENERIC.common Fri Jun 2 08:51:46 2023 @@ -1,5 +1,5 @@ # -# $NetBSD: GENERIC.common,v 1.3 2023/06/01 20:15:16 andvar Exp $ +# $NetBSD: GENERIC.common,v 1.4 2023/06/02 08:51:46 andvar Exp $ # # GENERIC common RISC-V kernel config items shared between 32 and 64 # kernels @@ -125,7 +125,7 @@ cpu* at fdt? pass 0 intc* at cpu? pass 1 -# Core-level Interupt Control block +# Core-level Interrupt Control block #clint0 at fdt? pass 2 # Platform-Level Interrupt Controller Index: src/sys/arch/sparc/include/param.h diff -u src/sys/arch/sparc/include/param.h:1.74 src/sys/arch/sparc/include/param.h:1.75 --- src/sys/arch/sparc/include/param.h:1.74 Fri May 1 08:21:27 2020 +++ src/sys/arch/sparc/include/param.h Fri Jun 2 08:51:46 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: param.h,v 1.74 2020/05/01 08:21:27 isaki Exp $ */ +/* $NetBSD: param.h,v 1.75 2023/06/02 08:51:46 andvar Exp $ */ /* * Copyright (c) 1992, 1993 @@ -75,7 +75,7 @@ extern int nbpg, pgofset, pgshift; #else /* * JS1/OF has prom sitting in f000.0000..f007.ffff, modify kernel VA - * layout to work around that. XXX - kernel should live beyound prom on + * layout to work around that. XXX - kernel should live beyond prom on * those machines. */ #define KERNBASE 0xe8000000 Index: src/sys/arch/sparc/sparc/timer_sun4m.c diff -u src/sys/arch/sparc/sparc/timer_sun4m.c:1.32 src/sys/arch/sparc/sparc/timer_sun4m.c:1.33 --- src/sys/arch/sparc/sparc/timer_sun4m.c:1.32 Sat Dec 4 13:23:03 2021 +++ src/sys/arch/sparc/sparc/timer_sun4m.c Fri Jun 2 08:51:47 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: timer_sun4m.c,v 1.32 2021/12/04 13:23:03 andvar Exp $ */ +/* $NetBSD: timer_sun4m.c,v 1.33 2023/06/02 08:51:47 andvar Exp $ */ /* * Copyright (c) 1992, 1993 @@ -58,7 +58,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: timer_sun4m.c,v 1.32 2021/12/04 13:23:03 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: timer_sun4m.c,v 1.33 2023/06/02 08:51:47 andvar Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -203,7 +203,7 @@ statintr_4m(void *cap) /* * Use the `non-resetting' limit register, so we don't - * loose the counter ticks that happened since this + * lose the counter ticks that happened since this * interrupt was raised. */ counterreg4m->t_limit_nr = tmr_ustolim4m(newint); Index: src/sys/arch/sparc64/sparc64/pmap.c diff -u src/sys/arch/sparc64/sparc64/pmap.c:1.316 src/sys/arch/sparc64/sparc64/pmap.c:1.317 --- src/sys/arch/sparc64/sparc64/pmap.c:1.316 Sat Apr 9 23:38:32 2022 +++ src/sys/arch/sparc64/sparc64/pmap.c Fri Jun 2 08:51:47 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.316 2022/04/09 23:38:32 riastradh Exp $ */ +/* $NetBSD: pmap.c,v 1.317 2023/06/02 08:51:47 andvar Exp $ */ /* * * Copyright (C) 1996-1999 Eduardo Horvath. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.316 2022/04/09 23:38:32 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.317 2023/06/02 08:51:47 andvar Exp $"); #undef NO_VCACHE /* Don't forget the locked TLB in dostart */ #define HWREF @@ -1402,7 +1402,7 @@ pmap_virtual_space(vaddr_t *start, vaddr */ #ifdef __arch64__ /* - * On 64 bit kernels, start it beyound firmware, so + * On 64 bit kernels, start it beyond firmware, so * we are basically unrestricted. */ *start = kbreak = VM_KERNEL_MEM_VA_START; Index: src/sys/arch/sun2/sun2/pmap.c diff -u src/sys/arch/sun2/sun2/pmap.c:1.49 src/sys/arch/sun2/sun2/pmap.c:1.50 --- src/sys/arch/sun2/sun2/pmap.c:1.49 Sun Feb 6 20:20:19 2022 +++ src/sys/arch/sun2/sun2/pmap.c Fri Jun 2 08:51:47 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.49 2022/02/06 20:20:19 andvar Exp $ */ +/* $NetBSD: pmap.c,v 1.50 2023/06/02 08:51:47 andvar Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -82,7 +82,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.49 2022/02/06 20:20:19 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.50 2023/06/02 08:51:47 andvar Exp $"); #include "opt_ddb.h" #include "opt_pmap_debug.h" @@ -869,7 +869,7 @@ pmeg_allocate(pmap_t pmap, vaddr_t va) /* * Put pmeg on the inactive queue, leaving its contents intact. - * This happens when we loose our context. We may reclaim + * This happens when we lose our context. We may reclaim * this pmeg later if it is still in the inactive queue. */ static void Index: src/sys/arch/sun3/sun3/pmap.c diff -u src/sys/arch/sun3/sun3/pmap.c:1.173 src/sys/arch/sun3/sun3/pmap.c:1.174 --- src/sys/arch/sun3/sun3/pmap.c:1.173 Sun Feb 6 20:20:19 2022 +++ src/sys/arch/sun3/sun3/pmap.c Fri Jun 2 08:51:47 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.173 2022/02/06 20:20:19 andvar Exp $ */ +/* $NetBSD: pmap.c,v 1.174 2023/06/02 08:51:47 andvar Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -80,7 +80,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.173 2022/02/06 20:20:19 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.174 2023/06/02 08:51:47 andvar Exp $"); #include "opt_ddb.h" #include "opt_pmap_debug.h" @@ -877,7 +877,7 @@ pmeg_allocate(pmap_t pmap, vaddr_t va) /* * Put pmeg on the inactive queue, leaving its contents intact. - * This happens when we loose our context. We may reclaim + * This happens when we lose our context. We may reclaim * this pmeg later if it is still in the inactive queue. */ static void Index: src/sys/arch/vax/vax/ctu.c diff -u src/sys/arch/vax/vax/ctu.c:1.37 src/sys/arch/vax/vax/ctu.c:1.38 --- src/sys/arch/vax/vax/ctu.c:1.37 Mon Apr 2 22:49:48 2018 +++ src/sys/arch/vax/vax/ctu.c Fri Jun 2 08:51:47 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: ctu.c,v 1.37 2018/04/02 22:49:48 mrg Exp $ */ +/* $NetBSD: ctu.c,v 1.38 2023/06/02 08:51:47 andvar Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. * All rights reserved. @@ -30,11 +30,11 @@ * Writing of tapes does not work, by some unknown reason so far. * It is almost useless to try to use this driver when running * multiuser, because the serial device don't have any buffers - * so we will loose interrupts. + * so we will lose interrupts. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ctu.c,v 1.37 2018/04/02 22:49:48 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ctu.c,v 1.38 2023/06/02 08:51:47 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> Index: src/sys/dev/ic/mb86960.c diff -u src/sys/dev/ic/mb86960.c:1.96 src/sys/dev/ic/mb86960.c:1.97 --- src/sys/dev/ic/mb86960.c:1.96 Sat Jul 31 14:36:33 2021 +++ src/sys/dev/ic/mb86960.c Fri Jun 2 08:51:47 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: mb86960.c,v 1.96 2021/07/31 14:36:33 andvar Exp $ */ +/* $NetBSD: mb86960.c,v 1.97 2023/06/02 08:51:47 andvar Exp $ */ /* * All Rights Reserved, Copyright (C) Fujitsu Limited 1995 @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mb86960.c,v 1.96 2021/07/31 14:36:33 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mb86960.c,v 1.97 2023/06/02 08:51:47 andvar Exp $"); /* * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards. @@ -674,7 +674,7 @@ mb86960_start(struct ifnet *ifp) * If txb_count is incorrect, leaving it as is will cause * sending of garbage after the next interrupt. We have to * avoid it. Hence, we reset the txb_count here. If - * txb_free was incorrect, resetting txb_count just loose + * txb_free was incorrect, resetting txb_count just lose * some packets. We can live with it. */ sc->txb_count = 0; Index: src/sys/dev/pci/if_sip.c diff -u src/sys/dev/pci/if_sip.c:1.189 src/sys/dev/pci/if_sip.c:1.190 --- src/sys/dev/pci/if_sip.c:1.189 Sat Sep 24 18:12:42 2022 +++ src/sys/dev/pci/if_sip.c Fri Jun 2 08:51:47 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: if_sip.c,v 1.189 2022/09/24 18:12:42 thorpej Exp $ */ +/* $NetBSD: if_sip.c,v 1.190 2023/06/02 08:51:47 andvar Exp $ */ /*- * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc. @@ -73,7 +73,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_sip.c,v 1.189 2022/09/24 18:12:42 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_sip.c,v 1.190 2023/06/02 08:51:47 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -258,7 +258,7 @@ struct sip_softc { struct evcnt sc_ev_txpause; /* PAUSE transmitted */ struct evcnt sc_ev_rxipsum; /* IP checksums checked in-bound */ struct evcnt sc_ev_rxtcpsum; /* TCP checksums checked in-bound */ - struct evcnt sc_ev_rxudpsum; /* UDP checksums checked in-boudn */ + struct evcnt sc_ev_rxudpsum; /* UDP checksums checked in-bound */ struct evcnt sc_ev_txipsum; /* IP checksums comp. out-bound */ struct evcnt sc_ev_txtcpsum; /* TCP checksums comp. out-bound */ struct evcnt sc_ev_txudpsum; /* UDP checksums comp. out-bound */ Index: src/sys/fs/msdosfs/msdosfs_conv.c diff -u src/sys/fs/msdosfs/msdosfs_conv.c:1.19 src/sys/fs/msdosfs/msdosfs_conv.c:1.20 --- src/sys/fs/msdosfs/msdosfs_conv.c:1.19 Mon Feb 13 23:14:21 2023 +++ src/sys/fs/msdosfs/msdosfs_conv.c Fri Jun 2 08:51:47 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: msdosfs_conv.c,v 1.19 2023/02/13 23:14:21 andvar Exp $ */ +/* $NetBSD: msdosfs_conv.c,v 1.20 2023/06/02 08:51:47 andvar Exp $ */ /*- * Copyright (C) 1995, 1997 Wolfgang Solfrank. @@ -58,7 +58,7 @@ #endif #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: msdosfs_conv.c,v 1.19 2023/02/13 23:14:21 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: msdosfs_conv.c,v 1.20 2023/06/02 08:51:47 andvar Exp $"); /* * System include files. @@ -108,7 +108,7 @@ static int char8match(u_int16_t *, u_int #define DOSBIASYEAR 1980 #define SECONDSTO1980 (((8 * 365) + (2 * 366)) * (24 * 60 * 60)) /* - * msdos fs can not store dates beyound the year 2234 + * msdos fs can not store dates beyond the year 2234 */ #define DOSMAXYEAR ((DD_YEAR_MASK >> DD_YEAR_SHIFT) + DOSBIASYEAR) Index: src/sys/fs/udf/udf_rename.c diff -u src/sys/fs/udf/udf_rename.c:1.14 src/sys/fs/udf/udf_rename.c:1.15 --- src/sys/fs/udf/udf_rename.c:1.14 Wed Oct 20 03:08:17 2021 +++ src/sys/fs/udf/udf_rename.c Fri Jun 2 08:51:48 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: udf_rename.c,v 1.14 2021/10/20 03:08:17 thorpej Exp $ */ +/* $NetBSD: udf_rename.c,v 1.15 2023/06/02 08:51:48 andvar Exp $ */ /* * Copyright (c) 2013 Reinoud Zandijk @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: udf_rename.c,v 1.14 2021/10/20 03:08:17 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udf_rename.c,v 1.15 2023/06/02 08:51:48 andvar Exp $"); #include <sys/param.h> #include <sys/errno.h> @@ -628,7 +628,7 @@ udf_gro_genealogy(struct mount *mp, kaut /* sanity check */ if (vp->v_type != VDIR) { /* - * Odd, but can happen if we loose the race and the + * Odd, but can happen if we lose the race and the * '..' node has been recycled. */ vput(vp); Index: src/sys/netinet/sctp_pcb.h diff -u src/sys/netinet/sctp_pcb.h:1.7 src/sys/netinet/sctp_pcb.h:1.8 --- src/sys/netinet/sctp_pcb.h:1.7 Fri Oct 28 05:26:29 2022 +++ src/sys/netinet/sctp_pcb.h Fri Jun 2 08:51:48 2023 @@ -1,5 +1,5 @@ /* $KAME: sctp_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */ -/* $NetBSD: sctp_pcb.h,v 1.7 2022/10/28 05:26:29 ozaki-r Exp $ */ +/* $NetBSD: sctp_pcb.h,v 1.8 2023/06/02 08:51:48 andvar Exp $ */ #ifndef __SCTP_PCB_H__ #define __SCTP_PCB_H__ @@ -375,7 +375,7 @@ struct sctp_tcb { * Most other locks (INP and INFO) attempt to localize * the locking i.e. we try to contain the lock and * unlock within the function that needs to lock it. This - * sometimes mean we do extra locks and unlocks and loose + * sometimes mean we do extra locks and unlocks and lose * a bit of efficiency, but if the performance statements about * non-recursive locks are true this should not be a problem. * One issue that arises with this only lock when needed Index: src/tests/lib/libcurses/tests/mutt_test diff -u src/tests/lib/libcurses/tests/mutt_test:1.3 src/tests/lib/libcurses/tests/mutt_test:1.4 --- src/tests/lib/libcurses/tests/mutt_test:1.3 Tue May 3 22:18:16 2022 +++ src/tests/lib/libcurses/tests/mutt_test Fri Jun 2 08:51:48 2023 @@ -15,7 +15,7 @@ call OK mvaddstr 22 0 "EEEEEEEEEEEEEEEEE call OK refresh call OK attroff $BOLD compare mutt_test3.chk -# check add on bottom row, this sbould be 123456789 in normal rendition +# check add on bottom row, this should be 123456789 in normal rendition call OK mvaddchstr 23 0 `\0041\0042\0043\0044\0045\0046\0047\0048\0049` input "i" call 105 getch