From 56b1edd680d2cfcbabe288fa546264497cfbb01b Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Fri, 10 Mar 2017 16:06:14 +0000 Subject: [PATCH] localedef(1): Fix mismatch. Obtained from: illumos X-MFC with: r314974 --- usr.bin/localedef/ctype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/localedef/ctype.c b/usr.bin/localedef/ctype.c index c24fdd63784..165ee9b806e 100644 --- a/usr.bin/localedef/ctype.c +++ b/usr.bin/localedef/ctype.c @@ -384,7 +384,7 @@ dump_ctype(void) conflict++; if ((ctn->ctype & _ISSPACE) && (ctn->ctype & _ISGRAPH)) conflict++; - if ((ctn->ctype & _ISCNTRL) & _ISPRINT) + if ((ctn->ctype & _ISCNTRL) && (ctn->ctype & _ISPRINT)) conflict++; if ((wc == ' ') && (ctn->ctype & (_ISPUNCT|_ISGRAPH))) conflict++;