summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2006-08-08 10:22:02 +0000
committerMarc Espie <espie@cvs.openbsd.org>2006-08-08 10:22:02 +0000
commite9cedf91efb6c7f7ed556762273a89aae838e130 (patch)
treee7a0cd4e7544994a5ede1fccdc6a3652751ded81 /sys
parenta1c83407c9863e0cbc243064f5c127527d9024bd (diff)
let ed_patch_lines work with a c command that encompasses the last line
of the file. The TAILQ structures specifically contain an extra `first line' to avoid this kind of issue, but no extra last line. Instead of walking beyond the end of the structure, and wondering at the null pointer, keep a pointer before the deleted block, as this one is guaranteed to exist. Fix Matthieu's testcase. okay joris@, xsa@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions