summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-02 12:09:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-02 12:09:46 +0000
commitdc80a7e74ea480341139136911118536ab501546 (patch)
tree42a49ce90f4bbb6e17d0f99dbc4b7e56cec651e7
parent4aa645ce7b61ca45001d029319152934d0bb412a (diff)
let vmin/vtime be set to 255
-rw-r--r--bin/stty/cchar.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/bin/stty/cchar.c b/bin/stty/cchar.c
index d704a11d747..ac4b40fe336 100644
--- a/bin/stty/cchar.c
+++ b/bin/stty/cchar.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cchar.c,v 1.3 1996/06/23 14:21:50 deraadt Exp $ */
+/* $OpenBSD: cchar.c,v 1.4 1996/08/02 12:09:45 deraadt Exp $ */
/* $NetBSD: cchar.c,v 1.10 1996/05/07 18:20:05 jtc Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)cchar.c 8.5 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: cchar.c,v 1.3 1996/06/23 14:21:50 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: cchar.c,v 1.4 1996/08/02 12:09:45 deraadt Exp $";
#endif
#endif /* not lint */
@@ -126,11 +126,6 @@ csearch(argvp, ip)
ip->t.c_cc[cp->sub] = _POSIX_VDISABLE;
else if (cp->sub == VMIN || cp->sub == VTIME) {
val = strtol(arg, &ep, 10);
- if (val == _POSIX_VDISABLE) {
- warnx("value of %ld would disable the option -- %s",
- val, name);
- usage();
- }
if (val > UCHAR_MAX) {
warnx("maximum option value is %d -- %s",
UCHAR_MAX, name);