svn commit: r323547 - head/lib/libedit
Pedro F. Giffuni
pfg at FreeBSD.org
Wed Sep 13 16:13:15 UTC 2017
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)
More information about the svn-src-head
mailing list