bug-glibc
[Top][All Lists]
Advanced

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

regex functions and MBS_SUPPORT


From: Bob Ham
Subject: regex functions and MBS_SUPPORT
Date: 19 Dec 2001 20:38:34 +0000

Hi all,

Looking through the current regex code, I see:

#  ifdef MBS_SUPPORT
#   define WCHAR
#   define INSIDE_RECURSION
#   include "regex.c"
#   undef INSIDE_RECURSION
#  endif
#  define BYTE
#  define INSIDE_RECURSION
#  include "regex.c"
#  undef INSIDE_RECURSION

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?

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]