From: Richard M. Stallman Date: Wed, 11 Aug 1993 04:51:08 +0000 (+0000) Subject: (receive_incremental_selection): Use bcopy, not memcpy. X-Git-Tag: emacs-19.34~11304 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=018cfa07566679b9335a99ac32217386cb5fd95a;p=emacs.git (receive_incremental_selection): Use bcopy, not memcpy. --- 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); }