Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src follow the steps of Andrew Doran (ad) commit and fix more s/...



details:   https://anonhg.NetBSD.org/src/rev/9c65c76f2b11
branches:  trunk
changeset: 376122:9c65c76f2b11
user:      andvar <andvar%NetBSD.org@localhost>
date:      Fri Jun 02 08:51:46 2023 +0000

description:
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.

diffstat:

 bin/ksh/var.c                          |  6 +++---
 libexec/ld.elf_so/arch/sparc/mdreloc.c |  6 +++---
 share/man/man4/dge.4                   |  4 ++--
 sys/arch/riscv/conf/GENERIC.common     |  4 ++--
 sys/arch/sparc/include/param.h         |  4 ++--
 sys/arch/sparc/sparc/timer_sun4m.c     |  6 +++---
 sys/arch/sparc64/sparc64/pmap.c        |  6 +++---
 sys/arch/sun2/sun2/pmap.c              |  6 +++---
 sys/arch/sun3/sun3/pmap.c              |  6 +++---
 sys/arch/vax/vax/ctu.c                 |  6 +++---
 sys/dev/ic/mb86960.c                   |  6 +++---
 sys/dev/pci/if_sip.c                   |  6 +++---
 sys/fs/msdosfs/msdosfs_conv.c          |  6 +++---
 sys/fs/udf/udf_rename.c                |  6 +++---
 sys/netinet/sctp_pcb.h                 |  4 ++--
 tests/lib/libcurses/tests/mutt_test    |  2 +-
 16 files changed, 42 insertions(+), 42 deletions(-)

diffs (truncated from 376 to 300 lines):

diff -r 398a1f315379 -r 9c65c76f2b11 bin/ksh/var.c
--- a/bin/ksh/var.c     Thu Jun 01 23:47:24 2023 +0000
+++ b/bin/ksh/var.c     Fri Jun 02 08:51:46 2023 +0000
@@ -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:
diff -r 398a1f315379 -r 9c65c76f2b11 libexec/ld.elf_so/arch/sparc/mdreloc.c
--- a/libexec/ld.elf_so/arch/sparc/mdreloc.c    Thu Jun 01 23:47:24 2023 +0000
+++ b/libexec/ld.elf_so/arch/sparc/mdreloc.c    Fri Jun 02 08:51:46 2023 +0000
@@ -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 @@ int
 
                /*
                 * 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);
diff -r 398a1f315379 -r 9c65c76f2b11 share/man/man4/dge.4
--- a/share/man/man4/dge.4      Thu Jun 01 23:47:24 2023 +0000
+++ b/share/man/man4/dge.4      Fri Jun 02 08:51:46 2023 +0000
@@ -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.
diff -r 398a1f315379 -r 9c65c76f2b11 sys/arch/riscv/conf/GENERIC.common
--- a/sys/arch/riscv/conf/GENERIC.common        Thu Jun 01 23:47:24 2023 +0000
+++ b/sys/arch/riscv/conf/GENERIC.common        Fri Jun 02 08:51:46 2023 +0000
@@ -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
diff -r 398a1f315379 -r 9c65c76f2b11 sys/arch/sparc/include/param.h
--- a/sys/arch/sparc/include/param.h    Thu Jun 01 23:47:24 2023 +0000
+++ b/sys/arch/sparc/include/param.h    Fri Jun 02 08:51:46 2023 +0000
@@ -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
diff -r 398a1f315379 -r 9c65c76f2b11 sys/arch/sparc/sparc/timer_sun4m.c
--- a/sys/arch/sparc/sparc/timer_sun4m.c        Thu Jun 01 23:47:24 2023 +0000
+++ b/sys/arch/sparc/sparc/timer_sun4m.c        Fri Jun 02 08:51:46 2023 +0000
@@ -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);
diff -r 398a1f315379 -r 9c65c76f2b11 sys/arch/sparc64/sparc64/pmap.c
--- a/sys/arch/sparc64/sparc64/pmap.c   Thu Jun 01 23:47:24 2023 +0000
+++ b/sys/arch/sparc64/sparc64/pmap.c   Fri Jun 02 08:51:46 2023 +0000
@@ -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;
diff -r 398a1f315379 -r 9c65c76f2b11 sys/arch/sun2/sun2/pmap.c
--- a/sys/arch/sun2/sun2/pmap.c Thu Jun 01 23:47:24 2023 +0000
+++ b/sys/arch/sun2/sun2/pmap.c Fri Jun 02 08:51:46 2023 +0000
@@ -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 
diff -r 398a1f315379 -r 9c65c76f2b11 sys/arch/sun3/sun3/pmap.c
--- a/sys/arch/sun3/sun3/pmap.c Thu Jun 01 23:47:24 2023 +0000
+++ b/sys/arch/sun3/sun3/pmap.c Fri Jun 02 08:51:46 2023 +0000
@@ -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
diff -r 398a1f315379 -r 9c65c76f2b11 sys/arch/vax/vax/ctu.c
--- a/sys/arch/vax/vax/ctu.c    Thu Jun 01 23:47:24 2023 +0000
+++ b/sys/arch/vax/vax/ctu.c    Fri Jun 02 08:51:46 2023 +0000
@@ -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>
diff -r 398a1f315379 -r 9c65c76f2b11 sys/dev/ic/mb86960.c
--- a/sys/dev/ic/mb86960.c      Thu Jun 01 23:47:24 2023 +0000
+++ b/sys/dev/ic/mb86960.c      Fri Jun 02 08:51:46 2023 +0000
@@ -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;
diff -r 398a1f315379 -r 9c65c76f2b11 sys/dev/pci/if_sip.c
--- a/sys/dev/pci/if_sip.c      Thu Jun 01 23:47:24 2023 +0000
+++ b/sys/dev/pci/if_sip.c      Fri Jun 02 08:51:46 2023 +0000
@@ -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 */
diff -r 398a1f315379 -r 9c65c76f2b11 sys/fs/msdosfs/msdosfs_conv.c
--- a/sys/fs/msdosfs/msdosfs_conv.c     Thu Jun 01 23:47:24 2023 +0000
+++ b/sys/fs/msdosfs/msdosfs_conv.c     Fri Jun 02 08:51:46 2023 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index