#
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]
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
248302 |
|
14-Mar-2013 |
brooks |
Update to the latest (un)vis(3) sources from NetBSD. This adds multibyte support[0] and the new functions strenvisx and strsenvisx.
Add MLINKS for vis(3) functions add by this and the initial import from NetBSD[1].
PR: bin/166364, bin/175418 Submitted by: "J.R. Oldroyd" <fbsd@opal.com>[0] stefanf[1] Obtained from: NetBSD MFC after: 2 weeks
|
#
244401 |
|
18-Dec-2012 |
brooks |
Replace our implementation of the vis(3) and unvis(3) APIs with NetBSD's. This output size limited versions of vis and unvis functions as well as a set of vis variants that allow arbitrary characters to be specified for encoding.
Finally, MIME Quoted-Printable encoding as described in RFC 2045 is supported.
|
#
244230 |
|
14-Dec-2012 |
brooks |
Vendor import of NetBSD's (un)vis(3) at 2012-12-14
|
#
241236 |
|
05-Oct-2012 |
brooks |
Vendor import of NetBSD's (un)vis(3) as of 2012-10-05
|