diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-02 12:10:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-02 12:10:04 +0000 |
commit | 075012bcdff50f025a4de9e4d4ef5b6eed90f429 (patch) | |
tree | 4aa6d8b6aaaede8d624c5fdd873fb10e9f393dfc | |
parent | dc80a7e74ea480341139136911118536ab501546 (diff) |
search table 2
-rw-r--r-- | bin/stty/cchar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/stty/cchar.c b/bin/stty/cchar.c index ac4b40fe336..dc4075b7af9 100644 --- a/bin/stty/cchar.c +++ b/bin/stty/cchar.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cchar.c,v 1.4 1996/08/02 12:09:45 deraadt Exp $ */ +/* $OpenBSD: cchar.c,v 1.5 1996/08/02 12:10:03 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.4 1996/08/02 12:09:45 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: cchar.c,v 1.5 1996/08/02 12:10:03 deraadt Exp $"; #endif #endif /* not lint */ @@ -110,8 +110,8 @@ csearch(argvp, ip) tmp.name = name; if (!(cp = (struct cchar *)bsearch(&tmp, cchars1, sizeof(cchars1)/sizeof(struct cchar) - 1, sizeof(struct cchar), - c_cchar)) && !(cp = (struct cchar *)bsearch(&tmp, cchars1, - sizeof(cchars1)/sizeof(struct cchar) - 1, sizeof(struct cchar), + c_cchar)) && !(cp = (struct cchar *)bsearch(&tmp, cchars2, + sizeof(cchars2)/sizeof(struct cchar) - 1, sizeof(struct cchar), c_cchar))) return (0); |