summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2002-01-31 02:27:31 +0000
committerchristos <christos@NetBSD.org>2002-01-31 02:27:31 +0000
commit910773a8f9c55b1059e6b7f334c1911c2f3fa93b (patch)
treeb03f4ad12e86359379d1ce4ed0057dab94867b77
parent81f21649414cc431ebfd1d518646946bd9da2af7 (diff)
don't forget to re-adjust the limit.
-rw-r--r--lib/libedit/tokenizer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/tokenizer.c b/lib/libedit/tokenizer.c
index dc9e551a79a..44f9431ce8e 100644
--- a/lib/libedit/tokenizer.c
+++ b/lib/libedit/tokenizer.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tokenizer.c,v 1.8 2002/01/31 00:25:33 christos Exp $ */
+/* $NetBSD: tokenizer.c,v 1.9 2002/01/31 02:27:31 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)tokenizer.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: tokenizer.c,v 1.8 2002/01/31 00:25:33 christos Exp $");
+__RCSID("$NetBSD: tokenizer.c,v 1.9 2002/01/31 02:27:31 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -381,9 +381,9 @@ tok_line(Tokenizer *tok, const char *line, int *argc, char ***argv)
}
tok->wptr = (tok->wptr - tok->wspace) + s;
tok->wstart = (tok->wstart - tok->wspace) + s;
- tok->wmax = s + size;
tok->wspace = s;
}
+ tok->wmax = s + size;
}
if (tok->argc >= tok->amax - 4) {
char **p;