changeset 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 c796b27ae64d
children fb0f96c4154b
files src/xselect.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
     }