diff src/xselect.c @ 4547:3bd8248cc191

(receive_incremental_selection): Use bcopy, not memcpy.
author Richard M. Stallman <rms@gnu.org>
date Wed, 11 Aug 1993 04:51:08 +0000
parents 02a515f35abc
children bb0ec6a82089
line wrap: on
line diff
--- a/src/xselect.c	Wed Aug 11 04:49:27 1993 +0000
+++ b/src/xselect.c	Wed Aug 11 04:51:08 1993 +0000
@@ -1167,7 +1167,7 @@
 	  *size_bytes_ret = offset + tmp_size_bytes;
 	  *data_ret = (unsigned char *) xrealloc (*data_ret, *size_bytes_ret);
 	}
-      memcpy ((*data_ret) + offset, tmp_data, tmp_size_bytes);
+      bcopy (tmp_data, (*data_ret) + offset, tmp_size_bytes);
       offset += tmp_size_bytes;
       xfree (tmp_data);
     }