Subject: CVS commit: src/usr.bin/vi/ex
To: None <source-changes@netbsd.org>
From: Aymeric Vincent <aymeric@netbsd.org>
List: source-changes
Date: 01/20/2003 18:10:55
Module Name: src
Committed By: aymeric
Date: Mon Jan 20 16:10:54 UTC 2003
Modified Files:
src/usr.bin/vi/ex: ex_cscope.c
Log Message:
. Don't call terminate() after read_prompt() failed.
Fixes memory re-use after free().
. Fake a directory name of "." if given a path without '/'.
This makes ":cs add cscope.out" work, and behave like ":cs add ."
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/usr.bin/vi/ex/ex_cscope.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.