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++;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to