user-access/rootfs/musl_mempcpy.patch

14 lines
472 B
Diff
Raw Normal View History

2017-06-13 13:36:25 +00:00
diff --git a/lib/pr_fnmatch.c b/lib/pr_fnmatch.c
index a1cb101..03956c1 100644
2016-10-13 11:52:14 +00:00
--- a/lib/pr_fnmatch.c
+++ b/lib/pr_fnmatch.c
2017-06-13 13:36:25 +00:00
@@ -250,7 +250,7 @@ __wcschrnul (const wchar_t *s, wint_t c)
2016-10-13 11:52:14 +00:00
# endif
# define STRLEN(S) strlen (S)
# define STRCAT(D, S) strcat (D, S)
-# define MEMPCPY(D, S, N) __mempcpy (D, S, N)
+# define MEMPCPY(D, S, N) mempcpy (D, S, N)
# define MEMCHR(S, C, N) memchr (S, C, N)
# define STRCOLL(S1, S2) strcoll (S1, S2)
# include "pr_fnmatch_loop.c"