about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-01-31 15:41:35 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-01-31 15:41:35 +0000
commit6ed6d4e2d6e91a1d5b16a5cf908aa749c680b2f0 (patch)
treec0b25f11a81b2c7f9d2ea74369dc4203454464a0 /Src
parentc5e62962924e3c9505430ba7dbab0f80385596ca (diff)
downloadzsh-6ed6d4e2d6e91a1d5b16a5cf908aa749c680b2f0.tar.gz
zsh-6ed6d4e2d6e91a1d5b16a5cf908aa749c680b2f0.tar.xz
zsh-6ed6d4e2d6e91a1d5b16a5cf908aa749c680b2f0.zip
Derek Peschel: 16493: correct typos
Diffstat (limited to 'Src')
-rw-r--r--Src/params.c14
1 files changed, 7 insertions, 7 deletions
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.
  */
 
 /**/