[PATCH] Fix minor breakage on Cygwin: auth-passwd.c andsession.c

Gert Doering gert at greenie.muc.de
Wed Aug 13 04:20:26 EST 2003


Hi,

On Tue, Aug 12, 2003 at 01:22:30PM +0200, Corinna Vinschen wrote:
> On Mon, Aug 11, 2003 at 07:04:05PM +0200, Gert Doering wrote:
> > Well, it's not a "break" but a "BREAK" signal.
> > [...]
> 
> Ok, but which functionality is ioctl(TIOCSBRK/TIOCCBRK)?  Does
> it reflect tcflow(TCOOFF/TCOON), tcflow(TCIOFF/TCION) or tcsendbreak()?

tcsendbreak()

> Either way, it would be helpful to substitute the ioctl() by a more
> portable call instead of just ignoring it entirely if the ioctl()
> code isn't available.

Yes.  TIOCSBRK/TIOCCBRK is "very old BSD code".

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de




More information about the openssh-unix-dev mailing list