Subject: CVS commit: src/usr.bin/vi/common
To: None <source-changes@NetBSD.org>
From: Aymeric Vincent <aymeric@netbsd.org>
List: source-changes
Date: 05/02/2004 17:00:31
Module Name:	src
Committed By:	aymeric
Date:		Sun May  2 17:00:31 UTC 2004

Modified Files:
	src/usr.bin/vi/common: line.c

Log Message:
flush the current line cache on every operation on the DB.
We can't keep a reference to data returned by libdb after a subsequent call to
any other libdb function on that DB.

Fixes a bug reported privately by Miho Taniyama (thanks!)... and hopefully
other hard-to-reproduce bugs.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/usr.bin/vi/common/line.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.