Source-Changes-HG archive

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

[src/trunk]: src fix typos in "environment" word.



details:   https://anonhg.NetBSD.org/src/rev/3f50348200f4
branches:  trunk
changeset: 1022899:3f50348200f4
user:      andvar <andvar%NetBSD.org@localhost>
date:      Thu Aug 12 20:53:18 2021 +0000

description:
fix typos in "environment" word.

diffstat:

 lib/libc/stdlib/setenv.c           |  6 +++---
 lib/libm/arch/x86_64/fenv.c        |  8 ++++----
 sys/arch/powerpc/include/reg.h     |  4 ++--
 sys/arch/sgimips/sgimips/machdep.c |  8 ++++----
 4 files changed, 13 insertions(+), 13 deletions(-)

diffs (110 lines):

diff -r ba70e1eb91e8 -r 3f50348200f4 lib/libc/stdlib/setenv.c
--- a/lib/libc/stdlib/setenv.c  Thu Aug 12 20:25:26 2021 +0000
+++ b/lib/libc/stdlib/setenv.c  Thu Aug 12 20:53:18 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: setenv.c,v 1.44 2015/01/20 18:31:25 christos Exp $     */
+/*     $NetBSD: setenv.c,v 1.45 2021/08/12 20:53:18 andvar Exp $       */
 
 /*
  * Copyright (c) 1987, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)setenv.c   8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: setenv.c,v 1.44 2015/01/20 18:31:25 christos Exp $");
+__RCSID("$NetBSD: setenv.c,v 1.45 2021/08/12 20:53:18 andvar Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -76,7 +76,7 @@
        if (!__writelockenv())
                return -1;
 
-       /* Find slot in the enviroment. */
+       /* Find slot in the environment. */
        offset = __getenvslot(name, l_name, true);
        if (offset == -1)
                goto bad;
diff -r ba70e1eb91e8 -r 3f50348200f4 lib/libm/arch/x86_64/fenv.c
--- a/lib/libm/arch/x86_64/fenv.c       Thu Aug 12 20:25:26 2021 +0000
+++ b/lib/libm/arch/x86_64/fenv.c       Thu Aug 12 20:53:18 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fenv.c,v 1.7 2017/03/22 23:11:09 chs Exp $ */
+/* $NetBSD: fenv.c,v 1.8 2021/08/12 20:53:18 andvar Exp $ */
 
 /*-
  * Copyright (c) 2004-2005 David Schultz <das (at) FreeBSD.ORG>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: fenv.c,v 1.7 2017/03/22 23:11:09 chs Exp $");
+__RCSID("$NetBSD: fenv.c,v 1.8 2021/08/12 20:53:18 andvar Exp $");
 
 #include "namespace.h"
 
@@ -150,7 +150,7 @@
        /* Clear the requested floating-point exceptions */
        fenv.x87.status &= ~ex;
 
-       /* Load the x87 floating-point environent */
+       /* Load the x87 floating-point environment */
        __fldenv(fenv);
 
        /* Same for SSE environment */
@@ -239,7 +239,7 @@
        /* Set the requested status flags */
        fenv.x87.status |= *flagp & ex;
 
-       /* Load the x87 floating-point environent */
+       /* Load the x87 floating-point environment */
        __fldenv(fenv);
 
        /* Same for SSE environment */
diff -r ba70e1eb91e8 -r 3f50348200f4 sys/arch/powerpc/include/reg.h
--- a/sys/arch/powerpc/include/reg.h    Thu Aug 12 20:25:26 2021 +0000
+++ b/sys/arch/powerpc/include/reg.h    Thu Aug 12 20:53:18 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reg.h,v 1.12 2016/01/24 20:02:38 christos Exp $        */
+/*     $NetBSD: reg.h,v 1.13 2021/08/12 20:53:18 andvar Exp $  */
 
 #ifndef _POWERPC_REG_H_
 #define _POWERPC_REG_H_
@@ -21,7 +21,7 @@
  *
  *  [Start of callee-saved registers]
  *  r14-r30    Registers used for local variables
- *  r31                Used for local variable or "environent pointers"
+ *  r31                Used for local variable or "environment pointers"
  *  f14-f31    Registers used for local variables
  *
  *
diff -r ba70e1eb91e8 -r 3f50348200f4 sys/arch/sgimips/sgimips/machdep.c
--- a/sys/arch/sgimips/sgimips/machdep.c        Thu Aug 12 20:25:26 2021 +0000
+++ b/sys/arch/sgimips/sgimips/machdep.c        Thu Aug 12 20:53:18 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.151 2021/07/24 21:31:35 andvar Exp $     */
+/*     $NetBSD: machdep.c,v 1.152 2021/08/12 20:53:18 andvar Exp $     */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.151 2021/07/24 21:31:35 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.152 2021/08/12 20:53:18 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -402,8 +402,8 @@
        }
 
        /*
-        * Also try to get the default bootpath from ARCBIOS envronment
-        * bacause bootpath is not set properly by old bootloaders and
+        * Also try to get the default bootpath from ARCBIOS environment
+        * because bootpath is not set properly by old bootloaders and
         * argv[0] might be invalid on some machine.
         */
        osload = arcbios_GetEnvironmentVariable("OSLoadPartition");



Home | Main Index | Thread Index | Old Index