dup tty error.
Chris January
chris@atomice.net
Sun Jun 30 12:28:00 GMT 2002
Normally i would expect to see this error, say, 1 in 2 times I click the
Cygwin icon. But yesterday I clicked it about 30 times and I keep getting
the same error.
Error follows:
3 [main] bash 776 fhandler_base::dup: dup(/dev/tty) failed, handle B,
Win32 error 87
readline: warning: rl_prep_terminal: cannot get terminal settingsâ]0;~
â[32mchris@ADVENT02 â[33m~â[0m
See this thread for more details:
http://sources.redhat.com/ml/cygwin/2002-05/msg01415.html
Attached is a patch which fixes the bug, by giving the console window title
more time (up to 1 second) to change. FindWindow is called in a loop, so for
the normal execution path there is no extra overhead.
Chris
---
2002-06-30 Christopher January <chris@atomice.net>
* tty.cc (tty_list::allocate_tty): retry FindWindow if it fails.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Changelog.tty.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020630/18b11bbc/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tty.cc.patch
Type: application/octet-stream
Size: 725 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020630/18b11bbc/attachment.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list