Searched hist:290065 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/lib/libedit/
H A Dvi.cdiff 290065 Tue Oct 27 19:28:56 MDT 2015 jilles libedit: Use correct buffer lengths in vi mode v command.

Libedit's vi mode provides a v command to edit the current line in vi(1)
(hard-coded to vi, in fact).

When Unicode/wide character mode was added, this command started truncating
and/or corrupting the edited text.

This commit fixes v if the text fits into the buffer. If the text is longer,
it is truncated.

PR: 203743
Obtained from: NetBSD (originally submitted by me)

Completed in 32 milliseconds