This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]