Author: pfg Date: Wed Sep 13 16:13:14 2017 New Revision: 323547 URL: https://svnweb.freebsd.org/changeset/base/323547
Log: libedit: add missing bracket. We never hit this because we always build with widechar support. Reported by: cognet MFC after: 3 days Modified: head/lib/libedit/chartype.c Modified: head/lib/libedit/chartype.c ============================================================================== --- head/lib/libedit/chartype.c Wed Sep 13 16:05:26 2017 (r323546) +++ head/lib/libedit/chartype.c Wed Sep 13 16:13:14 2017 (r323547) @@ -223,6 +223,7 @@ ct_mbrtowc(wchar_t *wc, const char *s, size_t n) size_t ct_mbrtowc(wchar_t *wc, const char *s, size_t n) +{ if (s == NULL) return 0; if (n == 0) _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"