1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-02 03:00:56 -07:00

(receive_incremental_selection): Use bcopy, not memcpy.

This commit is contained in:
Richard M. Stallman 1993-08-11 04:51:08 +00:00
parent 806f25b218
commit 018cfa0756

View file

@ -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);
}