quotearg.c mbstate_t used without ifdef

[email protected] Tue, 26 Nov 2002 21:20:18 +0100
Newsgroups gmane.comp.gnu.textutils.bugs
Message-ID <[email protected]>
Hello,

I was just cross compiling the textutils to get fmt on my zaurus when
I noticed that in textutils 2.1, lib/quotearg.c, function
quotearg_buffer_restyled, around line 434, you have the
definition
		mbstate_t mbstate;
The compiler attempts to compile this even if config.h has
#define HAVE_MBSTATE_T 0
-- which probably is not what autoconf is all about.

This is no emergency -- clearly, I can't do multibyte in the
first place, so I've just commented the else clause out, hoping
it won't bite me, but I thought you might like to know.

Cheers,

        Markus