NetBSD-Bugs archive

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

PR/53323 CVS commit: src/external/bsd/nvi/dist

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

From: "Rin Okuyama" <>
Subject: PR/53323 CVS commit: src/external/bsd/nvi/dist
Date: Sun, 3 Jun 2018 08:08:37 +0000

 Module Name:	src
 Committed By:	rin
 Date:		Sun Jun  3 08:08:37 UTC 2018
 Modified Files:
 	src/external/bsd/nvi/dist/common: conv.h
 	src/external/bsd/nvi/dist/vi: vs_line.c vs_relative.c
 Log Message:
 Make sure that every wide char occupies at least one display width:
   - Replace non-printable multibyte char with ?-symbol.
   - Put space before non-spacing char.
 Fix problems reported in PR bin/53164 and
 PR bin/53323, that are because we did not take into account non-printable
 multibyte char of wctob(wc) == EOF && wcwidth(wc) == -1.
 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 src/external/bsd/nvi/dist/common/conv.h
 cvs rdiff -u -r1.4 -r1.5 src/external/bsd/nvi/dist/vi/vs_line.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