[arch-commits] Commit in kdepimlibs/trunk (glibc-2.13.patch)

Andrea Scarpino andrea at archlinux.org
Thu Jan 27 02:31:00 UTC 2011


    Date: Wednesday, January 26, 2011 @ 21:31:00
  Author: andrea
Revision: 107820

add missing patch

Added:
  kdepimlibs/trunk/glibc-2.13.patch

------------------+
 glibc-2.13.patch |   13 +++++++++++++
 1 file changed, 13 insertions(+)

Added: glibc-2.13.patch
===================================================================
--- glibc-2.13.patch	                        (rev 0)
+++ glibc-2.13.patch	2011-01-27 02:31:00 UTC (rev 107820)
@@ -0,0 +1,13 @@
+Index: kioslave/imap4/imap4.cpp
+===================================================================
+--- kioslave/imap4/imap4.cpp	(revision 1216162)
++++ kioslave/imap4/imap4.cpp	(revision 1216163)
+@@ -2576,7 +2576,7 @@
+     ssize_t copyLen = (len < readBufferLen) ? len : readBufferLen;
+     memcpy(data, readBuffer, copyLen);
+     readBufferLen -= copyLen;
+-    if (readBufferLen) memcpy(readBuffer, &readBuffer[copyLen], readBufferLen);
++    if (readBufferLen) memmove(readBuffer, &readBuffer[copyLen], readBufferLen);
+     return copyLen;
+   }
+   if (!isConnected()) return 0;




More information about the arch-commits mailing list