NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/10367 CVS commit: src/dist/nvi/common



The following reply was made to PR bin/10367; it has been noted by GNATS.

From: "Christos Zoulas" <christos%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/10367 CVS commit: src/dist/nvi/common
Date: Sat, 21 Jan 2012 14:32:37 -0500

 Module Name:   src
 Committed By:  christos
 Date:          Sat Jan 21 19:32:37 UTC 2012
 
 Modified Files:
        src/dist/nvi/common: cut.c
 
 Log Message:
 PR/10367:
 
 Restore lost fix:
     http://mail-index.netbsd.org/source-changes/2001/09/09/0042.html
 
 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:
 
 <cursor>
 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 -u -r1.5 -r1.6 src/dist/nvi/common/cut.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index