From owner-cvs-src@FreeBSD.ORG Thu Apr 19 23:19:43 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D242F16A400; Thu, 19 Apr 2007 23:19:43 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C608213C44C; Thu, 19 Apr 2007 23:19:43 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3JNJhTG051597; Thu, 19 Apr 2007 23:19:43 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3JNJhYs051596; Thu, 19 Apr 2007 23:19:43 GMT (envelope-from yar) Message-Id: <200704192319.l3JNJhYs051596@repoman.freebsd.org> From: Yar Tikhiy Date: Thu, 19 Apr 2007 23:19:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/sed process.c src/tools/regression/usr.bin/sed regress.b2a.out regress.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 23:19:43 -0000 yar 2007-04-19 23:19:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/sed process.c tools/regression/usr.bin/sed regress.sh Added files: (Branch: RELENG_6) tools/regression/usr.bin/sed regress.b2a.out Log: MFC: Don't forget to close the range if we branched over its end and had no chance to match it by the 2nd address precisely. Otherwise the unclosed range would bogusly extend to the end of stream. Add a regression test. Explain the decision in the `POSIX' file. 1.44 src/usr.bin/sed/process.c 1.2-1.4 src/usr.bin/sed/POSIX 1.13 src/tools/regression/usr.bin/sed/regress.sh 1.1 src/tools/regression/usr.bin/sed/regress.b2a.out Revision Changes Path 1.1.2.1 +3 -0 src/tools/regression/usr.bin/sed/regress.b2a.out (new) 1.9.2.2 +3 -1 src/tools/regression/usr.bin/sed/regress.sh 1.39.2.4 +11 -2 src/usr.bin/sed/process.c