<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/usr.bin/sed, branch release/5.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=release%2F5.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=release%2F5.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2003-11-04T22:39:25Z</updated>
<entry>
<title>Fix the case where the file is not in the current directory.</title>
<updated>2003-11-04T22:39:25Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-11-04T22:39:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=591c337e014fcc4ec5baf72cd1d5f41075b93107'/>
<id>urn:sha1:591c337e014fcc4ec5baf72cd1d5f41075b93107</id>
<content type='text'>
Discovered by:	Vladimir Kravchenko &lt;jimson@mostcom.ru&gt;
Pointy hat to:	des
</content>
</entry>
<entry>
<title>Reimplement in-place editing in a slightly less disgusting manner.  Also,</title>
<updated>2003-11-04T13:09:16Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-11-04T13:09:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f54cda1467567b0bb2591162af68bc0769051c8d'/>
<id>urn:sha1:f54cda1467567b0bb2591162af68bc0769051c8d</id>
<content type='text'>
make an effort to preserve the ownership and mode of the file we are
editing.

Sponsored by:	Registrar AS
</content>
</entry>
<entry>
<title>Whitespace cleanup</title>
<updated>2003-11-04T12:16:47Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-11-04T12:16:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9cde9a2e85077e48dcb531e7d2ae6122196a547b'/>
<id>urn:sha1:9cde9a2e85077e48dcb531e7d2ae6122196a547b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ANSIfy</title>
<updated>2003-11-04T12:15:20Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-11-04T12:15:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=e6478125c862a9cba56b991076242b466425af48'/>
<id>urn:sha1:e6478125c862a9cba56b991076242b466425af48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Correct style bugs in the in-place editing code.</title>
<updated>2003-11-04T12:07:09Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-11-04T12:07:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9df25dda8c2e5067842c251aca4c3e0bffdd3196'/>
<id>urn:sha1:9df25dda8c2e5067842c251aca4c3e0bffdd3196</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change the buffer length test in NEEDSP() so that it does not</title>
<updated>2003-11-02T23:20:24Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2003-11-02T23:20:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ce20a8e9bed820bf82da820b5c22ff365f73bca9'/>
<id>urn:sha1:ce20a8e9bed820bf82da820b5c22ff365f73bca9</id>
<content type='text'>
subtract one unsigned number from another potentially smaller
one, leading to wraparound (and heap corruption, eventually).

PR:		58813
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Fixed .Nm element, updated HISTORY section, added AUTHORS section.</title>
<updated>2003-07-22T19:23:45Z</updated>
<author>
<name>Diomidis Spinellis</name>
<email>dds@FreeBSD.org</email>
</author>
<published>2003-07-22T19:23:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b6059c5c01dbff98272af92cfcdb9ccdc6d55a99'/>
<id>urn:sha1:b6059c5c01dbff98272af92cfcdb9ccdc6d55a99</id>
<content type='text'>
Reviewed by:	schweikh (mentor)
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Test 8.16 in sed.test tests the ability of a sed to handle an empty</title>
<updated>2003-07-22T19:22:08Z</updated>
<author>
<name>Diomidis Spinellis</name>
<email>dds@FreeBSD.org</email>
</author>
<published>2003-07-22T19:22:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=37c94e1d7858c4c86aead363694223a3949f6125'/>
<id>urn:sha1:37c94e1d7858c4c86aead363694223a3949f6125</id>
<content type='text'>
regular expression as the first argument to a substitute command. If
used to test a sed which (erroneously) evaluates this at translation
time rather than at execution time, the bugged sed is put into an
infinite loop. This mode of failure seems excessive. Such a failing
sed is the Free Software Foundation's sed 3.02.

The specific test was also not being executed for the BSD sed.

Both problems are now fixed.

PR:		misc/25585
Submitted by:	Walter Briscoe &lt;w.briscoe@ponl.com&gt;
Approved by:	schweikh (mentor)
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Do not dribble zero bytes into the output, by replacing an obfuscated if</title>
<updated>2003-06-05T12:10:19Z</updated>
<author>
<name>Tony Finch</name>
<email>fanf@FreeBSD.org</email>
</author>
<published>2003-06-05T12:10:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c2b9b6eba83e51d52ed7ed58687dfb34af98e3a1'/>
<id>urn:sha1:c2b9b6eba83e51d52ed7ed58687dfb34af98e3a1</id>
<content type='text'>
whose true and false clauses were equivalent with a check that we are
not about to stumble off the end of the line.

Reported by:	peter
Pointy hat to:	fanf
</content>
</entry>
<entry>
<title>Fix substitution when the regex matches the zero-length string.</title>
<updated>2003-06-04T15:31:55Z</updated>
<author>
<name>Tony Finch</name>
<email>fanf@FreeBSD.org</email>
</author>
<published>2003-06-04T15:31:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2f17b7e279eea92bd686c7c92c5bdeecc86607bd'/>
<id>urn:sha1:2f17b7e279eea92bd686c7c92c5bdeecc86607bd</id>
<content type='text'>
There are two bugs: in the s///g case, the substitution didn't occur
at the end of the line; in the s///N case, the code didn't count
forwards along the line properly. See the sg, s3, s4, and s5 tests
in src/tools/regression/usr.bin/sed/.

Reviewed by:	tjr
</content>
</entry>
</feed>
