Hi, I'm not sure what the changes affect. Does this mean UTF-8 won't work either? that's sounds like a big price to pay. Also, the problem doesn't sound specific to mdocml.
Is the problem: netbsd mishandles some locales it claims to support? On Sat, Mar 17, 2018 at 11:06:48AM +0000, Takeshi Nakayama wrote: > Module Name: src > Committed By: nakayama > Date: Sat Mar 17 11:06:48 UTC 2018 > > Modified Files: > src/external/bsd/mdocml/include: config.h > > Log Message: > Disable wchar_t support since our C library does not treat wchar_t > as UCS-4 in the case of non-UTF-8 locales. > > This feature was controlled by USE_WCHAR and disabled on NetBSD 7. > > > To generate a diff of this commit: > cvs rdiff -u -r1.3 -r1.4 src/external/bsd/mdocml/include/config.h > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > > Modified files: > > Index: src/external/bsd/mdocml/include/config.h > diff -u src/external/bsd/mdocml/include/config.h:1.3 > src/external/bsd/mdocml/include/config.h:1.4 > --- src/external/bsd/mdocml/include/config.h:1.3 Sat Mar 18 15:24:17 2017 > +++ src/external/bsd/mdocml/include/config.h Sat Mar 17 11:06:48 2018 > @@ -41,7 +41,7 @@ > #define HAVE_STRTONUM 0 > #define HAVE_SYS_ENDIAN 1 > #define HAVE_VASPRINTF 1 > -#define HAVE_WCHAR 1 > +#define HAVE_WCHAR 0 > #define HAVE_OHASH 0 > > #define BINM_APROPOS "apropos" >