|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
CVS: cvs.openbsd.org: src
From: Marc Espie (espie
cvs.openbsd.org)
Date: Tue Aug 08 2006 - 05:22:02 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CVSROOT: /cvs
Module name: src
Changes by: espie
cvs.openbsd.org 2006/08/08 04:22:01
Modified files:
usr.bin/rcs : diff3.c
Log message:
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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]