Bug 210013 - typo in contrib/libc-vis/vis.3
Summary: typo in contrib/libc-vis/vis.3
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-04 04:51 UTC by Kurt Jaeger
Modified: 2017-11-28 17:21 UTC (History)
1 user (show)

See Also:


Attachments
patch (285 bytes, patch)
2016-06-04 04:51 UTC, Kurt Jaeger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger freebsd_committer freebsd_triage 2016-06-04 04:51:11 UTC
Created attachment 170997 [details]
patch

Myltibyte should probably be Multibyte
Comment 1 Brooks Davis freebsd_committer freebsd_triage 2016-06-08 17:44:51 UTC
I've submitted this upstream and they committed it.  I'll do an (un)vis import.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-06-08 18:22:08 UTC
A commit references this bug:

Author: brooks
Date: Wed Jun  8 18:21:27 UTC 2016
New revision: 301679
URL: https://svnweb.freebsd.org/changeset/base/301679

Log:
  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]

Changes:
_U  head/contrib/libc-vis/
  head/contrib/libc-vis/unvis.c
  head/contrib/libc-vis/vis.3
  head/contrib/libc-vis/vis.c
  head/contrib/libc-vis/vis.h
  head/lib/libc/gen/Symbol.map
Comment 3 Brooks Davis freebsd_committer freebsd_triage 2016-09-02 21:54:41 UTC
I committed this a while ago.  Apparently I'm too accustom to phabricator's auto-close function...
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-11-28 17:21:22 UTC
A commit references this bug:

Author: brooks
Date: Tue Nov 28 17:20:54 UTC 2017
New revision: 326324
URL: https://svnweb.freebsd.org/changeset/base/326324

Log:
  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]

Changes:
_U  stable/10/
  stable/10/contrib/libc-vis/unvis.3
  stable/10/contrib/libc-vis/unvis.c
  stable/10/contrib/libc-vis/vis.3
  stable/10/contrib/libc-vis/vis.c
  stable/10/contrib/libc-vis/vis.h