Outstanding issues with current DLL?
Egor Duda
deo@logos-m.ru
Mon Mar 19 10:00:00 GMT 2001
Hi!
Sunday, 18 March, 2001 Egor Duda deo@logos-m.ru wrote:
ED> Sunday, 18 March, 2001 Christopher Faylor cgf@redhat.com wrote:
CF>> So, rxvt tries to exit but hangs waiting for bash to go away -- which
CF>> it never does? I would have thought that the closing of the parent
CF>> pty would cause bash to disappear.
ED> ah, i see now. this indeed looks like a bug in my code. before my
ED> patches, process which reads from slave tty polled the pipe, so, it
ED> saw when pipe from master to slave is abandoned, and send SIGHUP to
ED> itself. now it's not the case. i think i know how to fix it.
Here's the patch. I think it solves rxvt-close-with-X-button problem.
Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19
tty-slave-read3.ChangeLog
tty-slave-read3.diff
-------------- next part --------------
2001-03-19 Egor Duda <deo@logos-m.ru>
* tty.h (tty::create_inuse): Add new parameter to allow non-
inheritable 'inuse' events.
* tty.cc (tty::create_inuse): Use new parameter.
* fhandler_tty.cc (fhandler_tty_master::init): Ditto.
* fhandler_tty.cc (fhandler_pty_master::open): Ditto.
* fhandler_tty.cc (fhandler_tty_master::init): Create master_alive
event.
* tty.cc (tty_list::terminate): Close master_alive event.
* fhandler_tty.cc (fhandler_tty_common::close): Send EOF to slaves
when master side is closed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tty-slave-read3.diff
Type: text/x-diff
Size: 2998 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010319/d437ee1b/attachment.bin>
More information about the Cygwin-patches
mailing list