'environment', not 'enviroment'

This commit is contained in:
wiz 2002-07-11 10:53:19 +00:00
parent 5443f88666
commit 7b9b4ac6f7
9 changed files with 21 additions and 21 deletions

View File

@ -1,7 +1,7 @@
/* $NetBSD: main.c,v 1.6 1999/10/20 15:09:59 hubertf Exp $ */
/* $NetBSD: main.c,v 1.7 2002/07/11 10:53:19 wiz Exp $ */
/*
* startup, main loop, enviroments and error handling
* startup, main loop, environments and error handling
*/
#define EXTERN /* define EXTERNs in sh.h */
@ -119,7 +119,7 @@ main(argc, argv)
ainit(&aperm); /* initialize permanent Area */
/* set up base enviroment */
/* set up base environment */
memset(&env, 0, sizeof(env));
env.type = E_NONE;
ainit(&env.area);
@ -205,7 +205,7 @@ main(argc, argv)
change_flag(FPOSIX, OF_SPECIAL, 1);
#endif /* POSIXLY_CORRECT */
/* import enviroment */
/* import environment */
if (environ != NULL)
for (wp = environ; *wp != NULL; wp++)
typeset(*wp, IMPORT|EXPORT, 0, 0, 0);

View File

@ -1,10 +1,10 @@
/* $NetBSD: sh.h,v 1.4 2000/01/21 17:08:33 mycroft Exp $ */
/* $NetBSD: sh.h,v 1.5 2002/07/11 10:53:19 wiz Exp $ */
/*
* Public Domain Bourne/Korn shell
*/
/* $Id: sh.h,v 1.4 2000/01/21 17:08:33 mycroft Exp $ */
/* $Id: sh.h,v 1.5 2002/07/11 10:53:19 wiz Exp $ */
#include "config.h" /* system and option configuration info */
@ -409,18 +409,18 @@ EXTERN Area aperm; /* permanent object space */
* parsing & execution environment
*/
EXTERN struct env {
short type; /* enviroment type - see below */
short type; /* environment type - see below */
short flags; /* EF_* */
Area area; /* temporary allocation area */
struct block *loc; /* local variables and functions */
short *savefd; /* original redirected fd's */
struct env *oenv; /* link to previous enviroment */
struct env *oenv; /* link to previous environment */
ksh_jmp_buf jbuf; /* long jump back to env creator */
struct temp *temps; /* temp files */
} *e;
/* struct env.type values */
#define E_NONE 0 /* dummy enviroment */
#define E_NONE 0 /* dummy environment */
#define E_PARSE 1 /* parsing command # */
#define E_FUNC 2 /* executing function # */
#define E_INCL 3 /* including a file via . # */

View File

@ -1,4 +1,4 @@
.\" $NetBSD: expn.1,v 1.1.1.4 2001/05/13 17:50:34 veego Exp $
.\" $NetBSD: expn.1,v 1.2 2002/07/11 10:53:20 wiz Exp $
.\"
#!@PERL@
'di ';
@ -1318,7 +1318,7 @@ Finally, the
debug, flag will expose many of the inner workings so that
it is possible to eliminate bugs.
.SH ENVIRONMENT
No enviroment variables are used.
No environment variables are used.
.SH FILES
.PD 0
.B /tmp/expn$$

View File

@ -1315,7 +1315,7 @@ Finally, the
debug, flag will expose many of the inner workings so that
it is possible to eliminate bugs.
.SH ENVIRONMENT
No enviroment variables are used.
No environment variables are used.
.SH FILES
.PD 0
.B /tmp/expn$$

View File

@ -313,7 +313,7 @@ The
debug, flag will expose many of the inner workings so that
it is possible to eliminate bugs.
.SH ENVIRONMENT
No enviroment variables are used.
No environment variables are used.
.SH FILES
.B /etc/mail/sendmail.cf
.SH SEE ALSO

View File

@ -1305,7 +1305,7 @@ Finally, the
debug, flag will expose many of the inner workings so that
it is possible to eliminate bugs.
.SH ENVIRONMENT
No enviroment variables are used.
No environment variables are used.
.SH FILES
.PD 0
.B /tmp/expn$$

View File

@ -1,4 +1,4 @@
/* $NetBSD: init.c,v 1.11 2000/12/28 22:18:27 sommerfeld Exp $ */
/* $NetBSD: init.c,v 1.12 2002/07/11 10:53:21 wiz Exp $ */
/*
* Copyright (c) 1983, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)init.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: init.c,v 1.11 2000/12/28 22:18:27 sommerfeld Exp $");
__RCSID("$NetBSD: init.c,v 1.12 2002/07/11 10:53:21 wiz Exp $");
#endif
#endif /* not lint */
@ -66,7 +66,7 @@ struct gettystrs gettystrs[] = {
{ "et", &tmode.c_cc[VEOF] }, /* eof chatacter (eot) */
{ "pc", "" }, /* pad character */
{ "tt" }, /* terminal type */
{ "ev" }, /* enviroment */
{ "ev" }, /* environment */
{ "lo", _PATH_LOGIN }, /* login program */
{ "hn", hostname }, /* host name */
{ "he" }, /* host name edit */

View File

@ -1,4 +1,4 @@
.\" $NetBSD: doc-common,v 1.56 2002/05/30 23:38:19 augustss Exp $
.\" $NetBSD: doc-common,v 1.57 2002/07/11 10:53:21 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -343,7 +343,7 @@
.\}
..
.de lM
.\" We may still have a partial line in the enviroment. If this is the case,
.\" We may still have a partial line in the environment. If this is the case,
.\" and we happen to be on the last line of the page, the .fl will cause the
.\" page to be ejected and troff will immediately exit. If we're in nroff
.\" mode, this would be unfortunate, since we would never get a chance to

View File

@ -1,4 +1,4 @@
# $NetBSD: RAMDISK,v 1.17 2002/04/25 15:06:32 atatat Exp $
# $NetBSD: RAMDISK,v 1.18 2002/07/11 10:53:21 wiz Exp $
#
# RAMDISK: Root/swap on ramdisk
@ -6,7 +6,7 @@
# a NetBSD/mvme68k installation, and install
# the miniroot in a swap partition.
#
# It is not designed to be used in a production enviroment
# It is not designed to be used in a production environment
# due to its cut-down nature.
#