]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: Make native clipboard layout same for 32- and 64-bit
authorMark Geisert <mark@maxrnd.com>
Mon, 25 Oct 2021 09:25:40 +0000 (02:25 -0700)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 26 Oct 2021 10:42:21 +0000 (12:42 +0200)
commit23b1400f83a5f64dfab60cba2e25b0d858f44b5c
treea61f32287fb4489a112eb4e38e1579eb49084ce6
parent65d68186614ecb0446febf2efb3025ee2578cc97
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.
winsup/cygwin/fhandler_clipboard.cc
winsup/cygwin/include/sys/clipboard.h [new file with mode: 0644]
winsup/cygwin/release/3.3.0
This page took 0.031868 seconds and 5 git commands to generate.