comparison 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
comparison
equal deleted inserted replaced
4546:c796b27ae64d 4547:3bd8248cc191
1165 *size_bytes_ret, offset + tmp_size_bytes); 1165 *size_bytes_ret, offset + tmp_size_bytes);
1166 #endif 1166 #endif
1167 *size_bytes_ret = offset + tmp_size_bytes; 1167 *size_bytes_ret = offset + tmp_size_bytes;
1168 *data_ret = (unsigned char *) xrealloc (*data_ret, *size_bytes_ret); 1168 *data_ret = (unsigned char *) xrealloc (*data_ret, *size_bytes_ret);
1169 } 1169 }
1170 memcpy ((*data_ret) + offset, tmp_data, tmp_size_bytes); 1170 bcopy (tmp_data, (*data_ret) + offset, tmp_size_bytes);
1171 offset += tmp_size_bytes; 1171 offset += tmp_size_bytes;
1172 xfree (tmp_data); 1172 xfree (tmp_data);
1173 } 1173 }
1174 } 1174 }
1175 1175