From owner-svn-src-projects@freebsd.org Tue Oct 13 20:45:31 2015 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 173D1A1299F for ; Tue, 13 Oct 2015 20:45:31 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9A05132; Tue, 13 Oct 2015 20:45:30 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9DKjUDQ061734; Tue, 13 Oct 2015 20:45:30 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9DKjUMm061733; Tue, 13 Oct 2015 20:45:30 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201510132045.t9DKjUMm061733@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Tue, 13 Oct 2015 20:45:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r289264 - projects/collation/usr.bin/localedef X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2015 20:45:31 -0000 Author: bapt Date: Tue Oct 13 20:45:29 2015 New Revision: 289264 URL: https://svnweb.freebsd.org/changeset/base/289264 Log: eliminate need for "print" definition By having space automatically classified as "print" type, we can eliminate the print section from ctype src files completely (they are just "graph" plus "". Obtained from: Dragonfly Modified: projects/collation/usr.bin/localedef/ctype.c Modified: projects/collation/usr.bin/localedef/ctype.c ============================================================================== --- projects/collation/usr.bin/localedef/ctype.c Tue Oct 13 20:43:49 2015 (r289263) +++ projects/collation/usr.bin/localedef/ctype.c Tue Oct 13 20:45:29 2015 (r289264) @@ -338,6 +338,8 @@ dump_ctype(void) ctn->ctype |= _ISXDIGIT; if (strchr(" \t", (char)wc)) ctn->ctype |= _ISBLANK; + if (wc == ' ') + ctn->ctype |= _ISPRINT; /* * Technically these settings are only