Subject: CVS commit: basesrc/usr.bin/vi/common
To: None <>
From: Aymeric Vincent <>
List: source-changes
Date: 09/09/2001 14:01:09
Module Name:	basesrc
Committed By:	aymeric
Date:		Sun Sep  9 11:01:09 UTC 2001

Modified Files:
	basesrc/usr.bin/vi/common: cut.c

Log Message:
Define ENTIRE_LINE to be -1 instead of 0 since we may want to copy 0 characters.
(and use ENTIRE_LINE instead of 0 where appropriate)

This fixes a bug in the dw command with for example:

a b c

if you hit dw there, only the empty line would be killed but both the empty
line and the subsequent one would be pasted when asked for with P for example.

To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 basesrc/usr.bin/vi/common/cut.c

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