From owner-cvs-all@FreeBSD.ORG Sat May 27 19:33:34 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 0ABE216C9F0; Sat, 27 May 2006 19:33:34 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B73EC43D48; Sat, 27 May 2006 19:33:33 +0000 (GMT) (envelope-from krion@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k4RJWSYW006310; Sat, 27 May 2006 19:32:28 GMT (envelope-from krion@repoman.freebsd.org) Received: (from krion@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4RJWSiT006309; Sat, 27 May 2006 19:32:28 GMT (envelope-from krion) Message-Id: <200605271932.k4RJWSiT006309@repoman.freebsd.org> From: Kirill Ponomarew Date: Sat, 27 May 2006 19:32:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/sed process.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 27 May 2006 19:34:38 -0000 krion 2006-05-27 19:32:28 UTC FreeBSD src repository Modified files: usr.bin/sed process.c Log: Fix using "P" command on empty pattern space. If the "P" command is used once on a non-empty pattern space and then again on an empty pattern space, the second usage restores the pattern space length to the length that it had when the first "P" was used. PR: bin/96052 Submitted by: Andrey Zholos MFC after: 7 days Revision Changes Path 1.40 +1 -2 src/usr.bin/sed/process.c