Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
CVS: cvs.openbsd.org: src
From: Marc Espie (espiecvs.openbsd.org)
Date: Tue Aug 08 2006 - 05:22:02 CDT
Module name: src
Changes by: espiecvs.openbsd.org 2006/08/08 04:22:01
usr.bin/rcs : diff3.c
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