aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/proftpd/mempcpy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/proftpd/mempcpy.patch')
-rw-r--r--unmaintained/proftpd/mempcpy.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/unmaintained/proftpd/mempcpy.patch b/unmaintained/proftpd/mempcpy.patch
new file mode 100644
index 0000000000..e58210f372
--- /dev/null
+++ b/unmaintained/proftpd/mempcpy.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/pr_fnmatch.c b/lib/pr_fnmatch.c
+index 9e398e7..102591a 100644
+--- a/lib/pr_fnmatch.c
++++ b/lib/pr_fnmatch.c
+@@ -233,7 +233,7 @@ __wcschrnul (const wchar_t *s, wint_t c)
+ # 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"