From owner-freebsd-current@FreeBSD.ORG Fri Aug 20 10:51:46 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB2B81065695; Fri, 20 Aug 2010 10:51:46 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 6154F8FC08; Fri, 20 Aug 2010 10:51:46 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 063F21FFC33; Fri, 20 Aug 2010 10:51:44 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id D16E8844E9; Fri, 20 Aug 2010 12:51:44 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Adrian Chadd References: <4C6505A4.9060203@FreeBSD.org> <4C6C1CFE.6060900@FreeBSD.org> <86aaoirac1.fsf@ds4.des.no> Date: Fri, 20 Aug 2010 12:51:44 +0200 In-Reply-To: (Adrian Chadd's message of "Fri, 20 Aug 2010 17:06:56 +0800") Message-ID: <86zkwhr1z3.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Doug Barton , current@freebsd.org, core@freebsd.org, delphij@freebsd.org, Gabor Kovesdan , Dimitry Andric Subject: Re: Official request: Please make GNU grep the default X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 10:51:46 -0000 Adrian Chadd writes: > I've just looked at grep_fgetln(). Surely memchr() isn't required there. Of course it is, how else are you going to locate the '\n'? OTOH, I'm not sure grep_fgetln() is needed at all. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no