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]

Re: SIGHUP on pty closure


On Jul 25 12:36, Marco atzeri wrote:
> It seems that mc is correct in the expectation.
> 
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/close.html
> 
> "If fildes refers to the master side of a pseudo-terminal, and this
> is the last close, a SIGHUP signal shall be sent to the controlling
> process, if any, for which the slave side of the pseudo-terminal is
> the controlling terminal. It is unspecified whether closing the
> master side of the pseudo-terminal flushes all queued input and
> output."
> 
> 
> I don't find such implementation on cygwin
> 
> fhandler_pty_master::close ()
> 
> Am I looking in the wrong place ?

No, I don't think so.  I'm not fluent with mc.  How can I reproduce
the issue?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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]