MFC 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 usingasan.
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.Prune svn:mergeinfo from the new branch, as nothing has been mergedhere.Additional commits post-branch will follow.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
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].PR: 210013 [0]Submitted by: pi [0]
Update to the latest (un)vis(3) sources from NetBSD. This addsmultibyte support[0] and the new functions strenvisx and strsenvisx.Add MLINKS for vis(3) functions add by this and the initial import fromNetBSD[1].PR: bin/166364, bin/175418Submitted by: "J.R. Oldroyd" <fbsd@opal.com>[0] stefanf[1]Obtained from: NetBSDMFC after: 2 weeks
Replace our implementation of the vis(3) and unvis(3) APIs withNetBSD's. This output size limited versions of vis and unvis functionsas well as a set of vis variants that allow arbitrary characters to bespecified for encoding.Finally, MIME Quoted-Printable encoding as described in RFC 2045 issupported.
Vendor import of NetBSD's (un)vis(3) at 2012-12-14
Vendor import of NetBSD's (un)vis(3) as of 2012-10-05