Date: Mon, 2 Apr 2007 08:14:46 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/sed process.c src/tools/regression/usr.bin/sed regress.b2a.out regress.sh Message-ID: <200704020814.l328EkT1064372@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2007-04-02 08:14:46 UTC
FreeBSD src repository
Modified files:
usr.bin/sed process.c
tools/regression/usr.bin/sed regress.sh
Added files:
tools/regression/usr.bin/sed regress.b2a.out
Log:
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 basic regression test for the bug fixed. (This change
also fixes the more complex case 5.3 from `multitest.t'.)
Compared with: SUN and GNU seds
Tested by: regression tests
MFC after: 1 week
Revision Changes Path
1.1 +3 -0 src/tools/regression/usr.bin/sed/regress.b2a.out (new)
1.13 +3 -1 src/tools/regression/usr.bin/sed/regress.sh
1.44 +11 -2 src/usr.bin/sed/process.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704020814.l328EkT1064372>
