X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=Im5 oyfg/vNsuVM59o6tzalxY7gf/13lkL/GYsUzxxY1LFEH+KiydIZe07BCjimRnf39 WOTes4EmdPwbKGFVur4hD+qIhMAZgNhrtxJ5cbmqqSiE3J4eaa8x1cWEWTD+KUsp zIEmdlql+KxUCXufsbqeR8jeD4udEQVmQbVg1bCc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=NuFZLFMQm IH/MATw9KhbheA1k/I=; b=u7rqdU0LMBOjmQKYs+z1NiddTUzorIDux8bs28XPx NFQ94b14208g05dVNoL4zOM04z79y8TsKjAgbNt7dAHcXAWvz12fAQwtqvrIa+VQ Y/PnkRAgk5nujfEHor2oGU8mE/WxYnrzaQY68v/3tc10MKcd7T0Omo4jUnvfLhPJ as= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 Message-ID: <520AF2F0.8000002@jsbc.cc> Date: Tue, 13 Aug 2013 20:01:04 -0700 From: Jim Burwell User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: The Cygwin Mailing List Subject: Re: [64-bit] egrep core dumps when it opens binary files Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > On 8/12/2013 7:41 PM, Corinna Vinschen wrote: > > > > I added UTF-16 surrogate handling to the -i option and uploaded a > > grep-2.14-2 package to the 64 bit release. Please give it a tests. > > If it works for you, I'll send the patch upstream. > > > > Hi, > > I can confirm it fixes the crash for me. I used this testcase: > > echo -n -e '\xf4\x85\x84' > test > grep -i foo test > > Which crashed with grep-2.14-1 but not any more with grep-2.14-2. > > Sylvain I can confirm the problem is fixed. The same test no longer crashes. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple