summaryrefslogtreecommitdiff
path: root/libc/misc/regex
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-09 20:57:08 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-09 20:57:08 +0000
commitdee597fea748702998e3640a7cd2759b8256c1b2 (patch)
tree2a5ad4c8cdc2d59757759fda43ec127cfe440ae7 /libc/misc/regex
parent56605ce86443e1b0ee44c220774b144d843c6810 (diff)
make new regex code use __mempcpy
Diffstat (limited to 'libc/misc/regex')
-rw-r--r--libc/misc/regex/regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/regex/regexec.c b/libc/misc/regex/regexec.c
index ab654f705..e8e2946b4 100644
--- a/libc/misc/regex/regexec.c
+++ b/libc/misc/regex/regexec.c
@@ -385,7 +385,7 @@ re_search_2_stub (bufp, string1, length1, string2, length2, start, range, regs,
if (BE (s == NULL, 0))
return -2;
-#ifdef _LIBC
+#if defined _LIBC || defined __UCLIBC__
memcpy (__mempcpy (s, string1, length1), string2, length2);
#else
memcpy (s, string1, length1);