Cygwin 1.7.13 regression: Inheritance of /dev/clipboard filedesc fails
Christian Franke
Christian.Franke@t-online.de
Fri Apr 6 20:45:00 GMT 2012
Nellis, Kenneth wrote:
> From: Christian Franke
>
>> Confirmed :-)
> Yes, but...
>
> $ uname -vrs
> CYGWIN_NT-5.1 1.7.14s(0.260/5/3) 20120406 19:41:34
> $ echo test1 | cat> /dev/clipboard
> $ cat< /dev/clipboard
> test1
> $ getclip
> [Garbage]test[Garbage]
> ...
> Segmentation fault (core dumped)
This is unrelated. Apparently getclip is no longer compatible with
current cygwin. The cygwin native clipboard format has changed. New
format starts with a timestamp which is interpreted as data size by getclip.
BTW: I would suggest to start CYGWIN_NATIVE_CLIPBOARD format with a
version number that can be checked by external programs.
Christian
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list