This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Cygwin 1.7.13 regression: Inheritance of /dev/clipboard filedesc fails
- From: Christian Franke <Christian dot Franke at t-online dot de>
- To: cygwin at cygwin dot com
- Date: Fri, 06 Apr 2012 21:15:13 +0200
- Subject: 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