tech-userlevel archive

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

Re: VIS_GLOB flag for vis(3)

On Fri, Dec 14, 2012 at 09:38:43PM +0000, Christos Zoulas wrote:
> In article <>,
> Brooks Davis  <> wrote:
> >-=-=-=-=-=-
> >
> >As part of importing NetBSD's vis(3) APIs into FreeBSD I needed to add
> >support for our VIS_GLOB flag.  It's not an especially useful edition
> >given the existence of strs*vis*() but it's small and reduces diffs so
> >I'm submitting it for potential inclusion since I have to implement it
> >to preserve ABI compatibility.  This patch differs slightly from the one
> >I'm planning to import into FreeBSD in that I've made VIS_GLOB 0x0100
> >there to avoid requiring compatibility symbols.
> Added, thanks!

Thanks.  I just noticed a small bug in the manpage part of the diff as a
result of me cutting and pasting from another diff to a cvs checkout.
Sorry about that.  Here's a fix.

-- Brooks

Index: gen/vis.3
RCS file: /cvsroot/src/lib/libc/gen/vis.3,v
retrieving revision 1.28
diff -u -r1.28 vis.3
--- gen/vis.3   14 Dec 2012 21:38:18 -0000      1.28
+++ gen/vis.3   14 Dec 2012 22:51:57 -0000
@@ -219,7 +219,7 @@
 The following flags
 alter this:
 .Bl -tag -width VIS_WHITEX
 Also encode magic characters
 .Ql ( * ,
 .Ql \&? ,

Attachment: pgpR5zwTRDtEI.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index