From owner-cvs-src@FreeBSD.ORG Thu Jul 8 06:43:37 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 675A916A4CE; Thu, 8 Jul 2004 06:43:37 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60D2E43D1D; Thu, 8 Jul 2004 06:43:37 +0000 (GMT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i686hbBJ099855; Thu, 8 Jul 2004 06:43:37 GMT (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i686hb03099854; Thu, 8 Jul 2004 06:43:37 GMT (envelope-from tjr) Message-Id: <200407080643.i686hb03099854@repoman.freebsd.org> From: "Tim J. Robbins" Date: Thu, 8 Jul 2004 06:43:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/include wctype.h src/lib/libc/locale Makefile.inc nextwctype.3 nextwctype.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 06:43:37 -0000 tjr 2004-07-08 06:43:37 UTC FreeBSD src repository Modified files: include wctype.h lib/libc/locale Makefile.inc Added files: lib/libc/locale nextwctype.3 nextwctype.c Log: Add a function to iterate over all characters in a particular character class. This is necessary in order to implement tr(1) efficiently in multibyte locales, since the brute force method of finding all characters in a class is infeasible with a 32-bit (or wider) wchar_t. Revision Changes Path 1.12 +1 -0 src/include/wctype.h 1.56 +2 -2 src/lib/libc/locale/Makefile.inc 1.1 +58 -0 src/lib/libc/locale/nextwctype.3 (new) 1.1 +90 -0 src/lib/libc/locale/nextwctype.c (new)