SOURCES: glibc-memmove.patch (NEW) - fix build; from libc-alpha@

arekm arekm at pld-linux.org
Mon Oct 22 21:56:01 CEST 2007


Author: arekm                        Date: Mon Oct 22 19:56:01 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build; from libc-alpha@

---- Files affected:
SOURCES:
   glibc-memmove.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/glibc-memmove.patch
diff -u /dev/null SOURCES/glibc-memmove.patch:1.1
--- /dev/null	Mon Oct 22 21:56:01 2007
+++ SOURCES/glibc-memmove.patch	Mon Oct 22 21:55:56 2007
@@ -0,0 +1,16 @@
+--- glibc-2.7/sysdeps/i386/i486/bits/string.h.org	2007-10-22 21:50:36.334678376 +0200
++++ glibc-2.7/sysdeps/i386/i486/bits/string.h	2007-10-22 21:51:23.763943169 +0200
+@@ -143,10 +143,12 @@
+ 
+ #define _HAVE_STRING_ARCH_memmove 1
+ #ifndef _FORCE_INLINES
++#define memmove(dest, src, n) \
++	__memmove_g ((dest), (src), (n))
+ /* Copy N bytes of SRC to DEST, guaranteeing
+    correct behavior for overlapping strings.  */
+ __STRING_INLINE void *
+-memmove (void *__dest, __const void *__src, size_t __n)
++__memmove (void *__dest, __const void *__src, size_t __n)
+ {
+   register unsigned long int __d0, __d1, __d2;
+   register void *__tmp = __dest;
================================================================


More information about the pld-cvs-commit mailing list