Date: Thu, 8 Jul 2004 06:43:37 +0000 (UTC) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include wctype.h src/lib/libc/locale Makefile.inc nextwctype.3 nextwctype.c Message-ID: <200407080643.i686hb03099854@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407080643.i686hb03099854>
