Module Name: src Committed By: andvar Date: Thu Aug 12 20:53:18 UTC 2021
Modified Files: src/lib/libc/stdlib: setenv.c src/lib/libm/arch/x86_64: fenv.c src/sys/arch/powerpc/include: reg.h src/sys/arch/sgimips/sgimips: machdep.c Log Message: fix typos in "environment" word. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/lib/libc/stdlib/setenv.c cvs rdiff -u -r1.7 -r1.8 src/lib/libm/arch/x86_64/fenv.c cvs rdiff -u -r1.12 -r1.13 src/sys/arch/powerpc/include/reg.h cvs rdiff -u -r1.151 -r1.152 src/sys/arch/sgimips/sgimips/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/stdlib/setenv.c diff -u src/lib/libc/stdlib/setenv.c:1.44 src/lib/libc/stdlib/setenv.c:1.45 --- src/lib/libc/stdlib/setenv.c:1.44 Tue Jan 20 18:31:25 2015 +++ src/lib/libc/stdlib/setenv.c Thu Aug 12 20:53:18 2021 @@ -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 @@ setenv(const char *name, const char *val 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; Index: src/lib/libm/arch/x86_64/fenv.c diff -u src/lib/libm/arch/x86_64/fenv.c:1.7 src/lib/libm/arch/x86_64/fenv.c:1.8 --- src/lib/libm/arch/x86_64/fenv.c:1.7 Wed Mar 22 23:11:09 2017 +++ src/lib/libm/arch/x86_64/fenv.c Thu Aug 12 20:53:18 2021 @@ -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 @@ feclearexcept(int excepts) /* 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 @@ fesetexceptflag(const fexcept_t *flagp, /* 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 */ Index: src/sys/arch/powerpc/include/reg.h diff -u src/sys/arch/powerpc/include/reg.h:1.12 src/sys/arch/powerpc/include/reg.h:1.13 --- src/sys/arch/powerpc/include/reg.h:1.12 Sun Jan 24 20:02:38 2016 +++ src/sys/arch/powerpc/include/reg.h Thu Aug 12 20:53:18 2021 @@ -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 * * Index: src/sys/arch/sgimips/sgimips/machdep.c diff -u src/sys/arch/sgimips/sgimips/machdep.c:1.151 src/sys/arch/sgimips/sgimips/machdep.c:1.152 --- src/sys/arch/sgimips/sgimips/machdep.c:1.151 Sat Jul 24 21:31:35 2021 +++ src/sys/arch/sgimips/sgimips/machdep.c Thu Aug 12 20:53:18 2021 @@ -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 @@ mach_init(int argc, int32_t argv32[], ui } /* - * 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");