From owner-freebsd-bugs@FreeBSD.ORG Sun Jun 30 15:50:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5D4BC456 for ; Sun, 30 Jun 2013 15:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8011224 for ; Sun, 30 Jun 2013 15:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5UFo0Pv081065 for ; Sun, 30 Jun 2013 15:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5UFo0YS081049; Sun, 30 Jun 2013 15:50:00 GMT (envelope-from gnats) Date: Sun, 30 Jun 2013 15:50:00 GMT Message-Id: <201306301550.r5UFo0YS081049@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: =?ISO-8859-1?Q?G=E1bor_Gy=F6ngyi?= Subject: Re: bin/163062: csplit(1) includes extra lines in inner context X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: =?ISO-8859-1?Q?G=E1bor_Gy=F6ngyi?= List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jun 2013 15:50:01 -0000 The following reply was made to PR bin/163062; it has been noted by GNATS. From: =?ISO-8859-1?Q?G=E1bor_Gy=F6ngyi?= To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/163062: csplit(1) includes extra lines in inner context Date: Sun, 30 Jun 2013 17:47:54 +0200 --089e012290fa0a811704e06109f5 Content-Type: multipart/alternative; boundary=089e012290fa0a811304e06109f3 --089e012290fa0a811304e06109f3 Content-Type: text/plain; charset=ISO-8859-1 I attached a simple patch to fix this bug. It passes the test which can be found in the PR. Csplit svn revision: 252418 --089e012290fa0a811304e06109f3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I attached a simple patch to fix this bug. It passes the t= est which can be found in the PR. Csplit svn revision:=A0252418
--089e012290fa0a811304e06109f3-- --089e012290fa0a811704e06109f5 Content-Type: text/plain; charset=US-ASCII; name="patch.txt" Content-Disposition: attachment; filename="patch.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hikep41t0 LS0tIGNzcGxpdC5jCTIwMTMtMDYtMzAgMTc6MTI6MjYuMDAwMDAwMDAwICswMjAwCisrKyBjc3Bs aXRfbmV3LmMJMjAxMy0wNi0zMCAxNzoxODo0Ny4wMDAwMDAwMDAgKzAyMDAKQEAgLTM5OSw4ICsz OTksMTEgQEAKIAkJZmlyc3QgPSAwOwogCX0KIAotCWlmIChwID09IE5VTEwpCisJaWYgKHAgPT0g TlVMTCkgeworCQl0b29tdWNoKE5VTEwsIDApOwogCQllcnJ4KDEsICIlczogbm8gbWF0Y2giLCBy ZSk7CisJfQorCiAKIAlpZiAob2ZzIDw9IDApIHsKIAkJLyoK --089e012290fa0a811704e06109f5--