void-packages/srcpkgs/elfutils/patches/musl-wmempcpy.patch

12 lines
444 B
Diff
Raw Normal View History

2015-11-20 05:49:13 +00:00
--- libebl/eblwstrtab.c 2015-08-21 14:22:37.000000000 +0200
+++ libebl/eblwstrtab.c 2015-11-20 05:07:55.650018773 +0100
@@ -305,7 +305,7 @@
/* Process the current node. */
nodep->offset = *offsetp;
- *freep = wmempcpy (*freep, nodep->string, nodep->len);
+ *freep = wmemcpy (*freep, nodep->string, nodep->len) + nodep->len;
*offsetp += nodep->len * sizeof (wchar_t);
for (subs = nodep->next; subs != NULL; subs = subs->next)