summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-11-06 06:24:27 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-11-06 06:24:27 +0000
commit49fc6b036cbc1f42966ddcd246de61712962b576 (patch)
tree1c5145a13ce14a3d4dd5a7bbbc107eecb201e81c /Src/utils.c
parentdbc0aebcd44a028ed5c5c392fa2b354a1b562955 (diff)
downloadzsh-49fc6b036cbc1f42966ddcd246de61712962b576.tar.gz
zsh-49fc6b036cbc1f42966ddcd246de61712962b576.tar.xz
zsh-49fc6b036cbc1f42966ddcd246de61712962b576.zip
Make zpty more like eval.
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/utils.c b/Src/utils.c
index 1190347f7..686a46fbf 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -2547,7 +2547,7 @@ getbaudrate(struct ttyinfo *shttyinfo)
  *   META_NOALLOC:  buf points to a memory area which is long enough to hold *
  *                  the quoted form, just quote it and return buf.           *
  *   META_STATIC:   store the quoted string in a static area.  The original  *
- *                  sting should be at most PATH_MAX long.                   *
+ *                  string should be at most PATH_MAX long.                   *
  *   META_ALLOC:    allocate memory for the new string with zalloc().        *
  *   META_DUP:      leave buf unchanged and allocate space for the return    *
  *                  value even if buf does not contains special characters   *
@@ -2599,7 +2599,7 @@ metafy(char *buf, int len, int heap)
 	case META_NOALLOC:
 	    break;
 	default:
-	    fprintf(stderr, "BUG: metafy called with invaild heap value\n");
+	    fprintf(stderr, "BUG: metafy called with invalid heap value\n");
 	    fflush(stderr);
 	    break;
 #endif