CVS commit by ossi: 

memmove for overlapping mem copies.


  M +1 -1      drv_imap.c   1.30


--- isync/src/drv_imap.c  #1.29:1.30
@@ -370,5 +370,5 @@ buffer_gets( buffer_t * b, char **s )
 
                                if (n)
-                                       memcpy( b->buf, b->buf + start, n );
+                                       memmove( b->buf, b->buf + start, n );
                                b->offset -= start;
                                b->bytes = n;



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to