bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regex functions and MBS_SUPPORT


From: Bob Ham
Subject: Re: regex functions and MBS_SUPPORT
Date: 20 Dec 2001 15:01:02 +0000

On Thu, 2001-12-20 at 06:06, Andreas Jaeger wrote:

> > This implies to me that, if glibc is compiled with MBS_SUPPORT defined,
> > the regex functions only deal with wchar_t types and if it's not, they
> > only deal with char types.  Is this correct?
> 
> If MBS_SUPPORT is used - which is always set for glibc, you get both
> wchar_t and char types.

In that case, I'm confused as to what the user provides to regcomp();
how does regcomp() deal with possibly being given a MBS and possibly
being given a straight char[] string?  What does MB_CUR_MAX signify?

Bob

-- 
Bob Ham: address@hidden                 GNU Hurd: http://hurd.gnu.org/
         http://mp3.com/obelisk_uk

A pessimist expects the weather to get worse.
An optimist hopes it will improve.
A realist adjusts the sails.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]