Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit don't forget to re-adjust the limit.
details: https://anonhg.NetBSD.org/src/rev/aee3bad2f342
branches: trunk
changeset: 521454:aee3bad2f342
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 31 02:27:31 2002 +0000
description:
don't forget to re-adjust the limit.
diffstat:
lib/libedit/tokenizer.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 5bcae140b5db -r aee3bad2f342 lib/libedit/tokenizer.c
--- a/lib/libedit/tokenizer.c Thu Jan 31 02:15:28 2002 +0000
+++ b/lib/libedit/tokenizer.c Thu Jan 31 02:27:31 2002 +0000
@@ -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->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;
Home |
Main Index |
Thread Index |
Old Index