From 018cfa07566679b9335a99ac32217386cb5fd95a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 11 Aug 1993 04:51:08 +0000 Subject: [PATCH] (receive_incremental_selection): Use bcopy, not memcpy. --- src/xselect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xselect.c b/src/xselect.c index b0675a63f0d..9f083b8b1a7 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -1167,7 +1167,7 @@ receive_incremental_selection (display, window, property, target_type, *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); } -- 2.39.5