Cygwin 1.7.13 regression: Inheritance of /dev/clipboard filedesc fails

Christian Franke Christian.Franke@t-online.de
Fri Apr 6 19:15:00 GMT 2012


The inheritance of a /dev/clipboard filedesc through fork() fails in 
1.7.13. Last working snapshot was 2012-03-30.

Access to /dev/clipboard itself works as expected.

Testcase:

$ uname -vrs
CYGWIN_NT-6.1-WOW64 1.7.12s(0.260/5/3) 20120330 12:20:36

$ echo test1 | cat > /dev/clipboard

$ cat < /dev/clipboard
test1


$ uname -vrs
CYGWIN_NT-6.1-WOW64 1.7.13(0.260/5/3) 2012-04-05 12:43

$ echo test2 | cat > /dev/clipboard
cat: standard output: Bad file descriptor

$ cat < /dev/clipboard
cat: failed to reopen `stdin' with mode `rb': Bad file descriptor

$ cat /dev/clipboard
test1

$ echo test3 > /dev/clipboard

$ cat /dev/clipboard
test3

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