diff options
author | Mark Geisert <mark@maxrnd.com> | 2021-10-25 12:25:40 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2021-10-26 13:42:21 +0300 |
commit | 23b1400f83a5f64dfab60cba2e25b0d858f44b5c (patch) | |
tree | a61f32287fb4489a112eb4e38e1579eb49084ce6 /winsup/cygwin/malloc_wrapper.cc | |
parent | 65d68186614ecb0446febf2efb3025ee2578cc97 (diff) |
Cygwin: Make native clipboard layout same for 32- and 64-bit
This patch unifies the layout of the clipboard descriptor cygcb_t for
32- and 64-bit Cygwin. It allows correct copy/paste between the two
environments without corruption of user's copied data and without access
violations due to interpreting that data as a size field.
The definitions of CYGWIN_NATIVE and cygcb_t are moved to a new include
file, sys/clipboard.h. The include file is used by fhandler_clipboard.cc
as well as getclip.c and putclip.c in the Cygwin cygutils package.
When copy/pasting between 32- and 64-bit Cygwin environments, both must
be running version 3.3.0 or later for successful operation.
Diffstat (limited to 'winsup/cygwin/malloc_wrapper.cc')
0 files changed, 0 insertions, 0 deletions