diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/params.c | 14 |
2 files changed, 11 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog index 4ef745293..c5ea6996c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-01-31 Oliver Kiddle <opk@zsh.org> + + * Derek Peschel: 16493: Src/params.c: correct typos + 2002-01-27 Clint Adams <clint@zsh.org> * 16504, 16505: Src/builtin.c: warn on fclose or fflush diff --git a/Src/params.c b/Src/params.c index a89ea01e5..8ead6d69d 100644 --- a/Src/params.c +++ b/Src/params.c @@ -222,7 +222,7 @@ IPDEF9("@", &pparams, NULL), #define IPDEF10(A,B,C) {NULL,A,PM_ARRAY|PM_SPECIAL,BR(NULL),SFN(C),GFN(B),stdunsetfn,10,NULL,NULL,NULL,0} /* The following parameters are not avaible in sh/ksh compatibility * - * mode. All of these has sh compatible equivalents. */ + * mode. All of these have sh compatible equivalents. */ IPDEF1("ARGC", poundgetfn, nullintsetfn, PM_READONLY), IPDEF2("HISTCHARS", histcharsgetfn, histcharssetfn, PM_DONTIMPORT), IPDEF4("status", &lastval), @@ -447,7 +447,7 @@ getvaluearr(Value v) } /* - * Split environment string into (name, vlaue) pair. + * Split environment string into (name, value) pair. * this is used to avoid in-place editing of environment table * that results in core dump on some systems */ @@ -508,7 +508,7 @@ createparamtable(void) /* Add the standard non-special parameters which have to * * be initialized before we copy the environment variables. * - * We don't want to override whatever values the users has * + * We don't want to override whatever values the user has * * given them in the environment. */ opts[ALLEXPORT] = 0; setiparam("MAILCHECK", 60); @@ -3013,8 +3013,8 @@ findenv(char *name, int *pos) return 0; } -/* Given *name = "foo", it searchs the environment for string * - * "foo=bar", and returns a pointer to the beginning of "bar" */ +/* Given *name = "foo", it searches the environment for string * + * "foo=bar", and returns a pointer to the beginning of "bar" */ /**/ mod_export char * @@ -3069,7 +3069,7 @@ addenv(char *name, char *value, int flags) /* * Under Cygwin we must use putenv() to maintain consistency. * Unfortunately, current version (1.1.2) copies argument and may - * silently reuse exisiting environment string. This tries to + * silently reuse existing environment string. This tries to * check for both cases */ if (findenv(name, &pos)) { @@ -3172,7 +3172,7 @@ convbase(char *s, zlong v, int base) /* * Convert a floating point value for output. * Unlike convbase(), this has its own internal storage and returns - * a value from the heap; + * a value from the heap. */ /**/ |