]> git.eshelyaron.com Git - emacs.git/commitdiff
(receive_incremental_selection): Use bcopy, not memcpy.
authorRichard M. Stallman <rms@gnu.org>
Wed, 11 Aug 1993 04:51:08 +0000 (04:51 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 11 Aug 1993 04:51:08 +0000 (04:51 +0000)
src/xselect.c

index b0675a63f0d8aafeeffa1ccbc139b1be4ef79488..9f083b8b1a7e1cd9edb4dc8390b1c71d330f9790 100644 (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);
     }