public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Incompatible clipboard format between 32bit and 64bit cygwin
@ 2021-09-26  1:33 Takashi Yano
  2021-09-26  9:50 ` Mark Geisert
  0 siblings, 1 reply; 12+ messages in thread
From: Takashi Yano @ 2021-09-26  1:33 UTC (permalink / raw)
  To: cygwin

Hi all,

I noticed that cygwin clipboard is not compatible
between 32bit and 64bit cygwin.

If I run 'echo AAAAAAAA > /dev/clipboard' in 32bit cygwin,
and run 'cat /dev/clipboard' in 64bit cygwin, this result in
cat: /dev/clipboard: Bad address

This is because the structure
typedef struct
{
  timestruc_t   timestamp;
  size_t    len;
  char      data[1];
} cygcb_t;
defined in fhandler_clipboard.cc has different size.

Is this the known issue?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-09-28 17:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-26  1:33 Incompatible clipboard format between 32bit and 64bit cygwin Takashi Yano
2021-09-26  9:50 ` Mark Geisert
2021-09-26 18:37   ` Thomas Wolff
2021-09-26 18:41     ` Thomas Wolff
2021-09-26 19:09       ` Lee
2021-09-26 20:46         ` Brian Inglis
2021-09-28  4:49       ` Mark Geisert
2021-09-28  5:22         ` Brian Inglis
2021-09-28  6:19           ` Takashi Yano
2021-09-28  6:46             ` Brian Inglis
2021-09-28  8:13               ` Takashi Yano
2021-09-28 17:11           ` Mark Geisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).