Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
018cfa07
Commit
018cfa07
authored
Aug 11, 1993
by
Richard M. Stallman
Browse files
(receive_incremental_selection): Use bcopy, not memcpy.
parent
806f25b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/xselect.c
src/xselect.c
+1
-1
No files found.
src/xselect.c
View file @
018cfa07
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment