From owner-cvs-all@FreeBSD.ORG Sun Sep 5 08:30:43 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7892E16A4CE; Sun, 5 Sep 2004 08:30:43 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55C5243D39; Sun, 5 Sep 2004 08:30:43 +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 i858Uh40019404; Sun, 5 Sep 2004 08:30:43 GMT (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i858UhW7019398; Sun, 5 Sep 2004 08:30:43 GMT (envelope-from tjr) Message-Id: <200409050830.i858UhW7019398@repoman.freebsd.org> From: "Tim J. Robbins" Date: Sun, 5 Sep 2004 08:30:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/regex regcomp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2004 08:30:43 -0000 tjr 2004-09-05 08:30:43 UTC FreeBSD src repository Modified files: lib/libc/regex regcomp.c Log: Fix two problems with REG_ICASE that were introduced with the addition of multibyte character support: - In CHadd(), avoid writing past the end of the character set bitmap when the opposite-case counterpart of wide characters with values less than NC have values greater than or equal to NC. - In CHaddtype(), fix a braino that caused alphabetic characters to be added to all character classes! (but only with REG_ICASE) PR: 71367 Revision Changes Path 1.33 +10 -13 src/lib/libc/regex/regcomp.c