projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d38845
)
Use __wcsoll only if _LIBC.
author
Ulrich Drepper
<drepper@redhat.com>
Fri, 17 Aug 2001 18:15:15 +0000
(18:15 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Fri, 17 Aug 2001 18:15:15 +0000
(18:15 +0000)
posix/regex.c
patch
|
blob
|
history
diff --git
a/posix/regex.c
b/posix/regex.c
index
5424f04
..
a5c35fe
100644
(file)
--- a/
posix/regex.c
+++ b/
posix/regex.c
@@
-6388,7
+6388,11
@@
byte_re_match_2_internal (bufp, string1, size1,string2, size2, pos,
/* If wcscoll(the collating symbol, whole string) > 0,
any substring of the string never match with the
collating symbol. */
+# ifdef _LIBC
if (__wcscoll (workp, d) > 0)
+# else
+ if (wcscoll (workp, d) > 0)
+# endif
{
workp += length + 1;
continue;