Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id DF8E17ABFC for ; Mon, 14 Mar 2016 13:16:32 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 59A7B85EB4; Mon, 14 Mar 2016 13:16:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DC52685EAF for ; Mon, 14 Mar 2016 13:16:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id HJjcWd5mIheR for ; Mon, 14 Mar 2016 13:16:31 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 7F0B884CED for ; Mon, 14 Mar 2016 13:16:31 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 75B37FBB7; Mon, 14 Mar 2016 13:16:31 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 14 Mar 2016 13:16:31 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/textproc/grep To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20160314131631.75B37FBB7@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: ryoon Date: Mon Mar 14 13:16:31 UTC 2016 Modified Files: pkgsrc/textproc/grep: Makefile distinfo Log Message: Update to 2.24 Changelog: * Noteworthy changes in release 2.24 (2016-03-10) [stable] ** Bug fixes grep -z would match strings it should not. To trigger the bug, you'd have to use a regular expression including an anchor (^ or $) and a feature like a range or a backreference, causing grep to forego its DFA matcher and resort to using re_search. With a multibyte locale, that matcher could mistakenly match a string containing a newline. For example, this command: printf 'a\nb\0' | LC_ALL=en_US.utf-8 grep -z '^[a-b]*b' would mistakenly match and print all four input bytes. After the fix, there is no match, as expected. [bug introduced in grep-2.7] grep -Pz now diagnoses attempts to use patterns containing ^ and $, instead of mishandling these patterns. This problem seems to be inherent to the PCRE API; removing this limitation is on PCRE's maint/README wish list. Patterns can continue to match literal ^ and $ by escaping them with \ (now needed even inside [...]). [bug introduced in grep-2.5] To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 pkgsrc/textproc/grep/Makefile cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/grep/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.