On Fri, Dec 14, 2001 at 12:31:08PM -0500, Glenn Maynard wrote:
On Fri, Dec 14, 2001 at 07:23:31AM -0600, Albert Chin-A-Young wrote:
So, do we need a C and C++ check for mbstate_t?
Note that mbstate_t is usred in lib/fnmatch.c and lib/regex.c but in
2.4.4, there was no autoconf check for it. Any reason the autoconf
check was introduced?
It's used conditionally based on this check (and some others), though
fnmatch.c has it disabled for some reason. (I don't think it should; we
very well might have MBCS filenames locally. I occasionally do, with
UTF-8, but I'm not using the replacement versions of these functions so
it doesn't affect me.) We use MBCS functions directly now, so we need to
know if it's available. (We assume the FTP server's terminal encoding is
the same as the local terminal's; not a very good assumption, but it's the
best we can do in a terminal interface.)
So do I make a separate C, C++ autoconf check for mbstate_t?
--
albert chin ([EMAIL PROTECTED])