[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r7600 - in /trunk/libc: ChangeLog.eglibc posix/xregex.c
- To: commits@xxxxxxxxxx
- Subject: [commits] r7600 - in /trunk/libc: ChangeLog.eglibc posix/xregex.c
- From: maxim@xxxxxxxxxx
- Date: Wed, 24 Dec 2008 13:04:28 -0000
Author: maxim
Date: Wed Dec 24 05:04:28 2008
New Revision: 7600
Log:
* posix/xregex.c: Handle absence of wide char support.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/posix/xregex.c
Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Wed Dec 24 05:04:28 2008
@@ -1,3 +1,7 @@
+2008-12-24 Maxim Kuvyrkov <maxim@xxxxxxxxxxxxxxxx>
+
+ * posix/xregex.c: Handle absence of wide char support.
+
2008-12-15 Josh Boyer <jwboyer@xxxxxxxxx>
Maxim Kuvyrkov <maxim@xxxxxxxxxxxxxxxx>
Modified: trunk/libc/posix/xregex.c
==============================================================================
--- trunk/libc/posix/xregex.c (original)
+++ trunk/libc/posix/xregex.c Wed Dec 24 05:04:28 2008
@@ -51,7 +51,7 @@
/* For platform which support the ISO C amendement 1 functionality we
support user defined character classes. */
-# if defined _LIBC || WIDE_CHAR_SUPPORT
+# if WIDE_CHAR_SUPPORT
/* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. */
# include <wchar.h>
# include <wctype.h>
@@ -2174,7 +2174,7 @@
}
# ifndef DEFINED_ONCE
-# if defined _LIBC || WIDE_CHAR_SUPPORT
+# if WIDE_CHAR_SUPPORT
/* The GNU C library provides support for user-defined character classes
and the functions from ISO C amendement 1. */
# ifdef CHARCLASS_NAME_MAX
@@ -3223,7 +3223,7 @@
the leading `:' and `[' (but set bits for them). */
if (c == ':' && *p == ']')
{
-# if defined _LIBC || WIDE_CHAR_SUPPORT
+# if WIDE_CHAR_SUPPORT
boolean is_lower = STREQ (str, "lower");
boolean is_upper = STREQ (str, "upper");
wctype_t wt;