History log of /freebsd-10-stable/contrib/libc-vis/vis.3
Revision Date Author Comments
# 326324 28-Nov-2017 brooks

MFC r301679 (partial), r309626, r326307

r301679:
Update to a June 8th snapshot of (un)vis form NetBSD.

This adds stravis() and some new encoding flags VIS_SHELL, VIS_META,
and VIS_NOLOCALE.

Assorted cleanups and fixes includeing a manpage typo[0].

NOTE: The symbol for stravis() is not exported in this merge.

r309626:
strvis(3): Avoid internal state of multibyte functions being tainted.

The mbtoc(3) and wctomb(3) functions use internal state which may be
tainted before the call to strvis(3). In this context we can just use
the thread-safe versions mbrtoc(3) and wcrtomb(3) which allow passing
our own state from our stack.

r326307:
Update vis(3) the latest from NetBSD.

This adds VIS_DQ for compatiblity with OpenBSD.

Correct by an off-by-one error and a read buffer overflow detected using
asan.

PR: 210013 [0]
Submitted by: pi [0]


# 321161 18-Jul-2017 ngie

MFC r318702:

vis(3): delete spurious .Pp macro


# 261346 01-Feb-2014 pluknet

MFC r261261: Restore the Nx macro.

PR: 186205
Submitted by: naddy


# 261346 01-Feb-2014 pluknet

MFC r261261: Restore the Nx macro.

PR: 186205
Submitted by: naddy