This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin 1.7.13 regression: Inheritance of /dev/clipboard filedesc fails
On 4/6/2012 4:44 PM, Christian Franke wrote:
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
Ah, I missed that change:
2012-03-26 Corinna Vinschen <...>
* fhandler.h (class fhandler_dev_clipboard): Add fstat method.
* fhandler_clipboard.cc (cygcb_t): New type for Cygwin-specific
(set_clipboard): Use new clipboard format to allow setting a timestamp.
(fhandler_dev_clipboard::fstat): New method. Read modification and
access timestamp as well as length from clipboard data.
(fhandler_dev_clipboard::read): Use new clipboard format.
I'll try to get an update out after Easter (incl. some other pending
cygutils changes). Although CYGWIN_NATIVE_CLIPBOARD version # would be
cleaner, it isn't really needed. Since getclip is a cygwin program, and
we already know that all interacting cygwin processes must be using the
same cygwin dll, it's easy enough for getclip.exe to check the running
cygwin's version and act appropriately -- given knowledge of when the
clipboard format was changed.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple