Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2017 16:06:14 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315006 - head/usr.bin/localedef
Message-ID:  <201703101606.v2AG6E4S021195@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Fri Mar 10 16:06:14 2017
New Revision: 315006
URL: https://svnweb.freebsd.org/changeset/base/315006

Log:
  localedef(1): Fix mismatch.
  
  Obtained from:	illumos
  X-MFC with:	r314974

Modified:
  head/usr.bin/localedef/ctype.c

Modified: head/usr.bin/localedef/ctype.c
==============================================================================
--- head/usr.bin/localedef/ctype.c	Fri Mar 10 16:04:00 2017	(r315005)
+++ head/usr.bin/localedef/ctype.c	Fri Mar 10 16:06:14 2017	(r315006)
@@ -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++;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703101606.v2AG6E4S021195>