Re: [PATCH 6/7] Include wchar.h and wctype.h unconditionally

Yao Qi
2014-11-21T13:22:12Z

Pedro Alves <palves@redhat.com> writes:

> It's hard to reason about all the modes supported here, but
> I think this is OK. Seems like the comment above about wchar_t
> support should be updated though.
>

At the beginning, I tried to change more than what I did in this patch,
but I got myself in trouble in these different modes, which I don't
fully understand. I'll revisit it once my gnulib patches queue is empty.

> (I wonder whether if we pulled in the gnulib btowc module, we could
> get rid of at least some of this fallback stuff. We're already
> pulling in mbrtowc...)

Agreed, that is one thing we could do.

--
Yao (齐尧)