[PATCH] Fix minor breakage on Cygwin: auth-passwd.c andsession.c
Darren Tucker
dtucker at zip.com.au
Mon Aug 11 21:52:33 EST 2003
Corinna Vinschen wrote:
> On Tue, Aug 05, 2003 at 08:23:00PM +1000, Darren Tucker wrote:
> > No one has commented on the session_break_req() change...
>
> That's not the right way to do it, AFAICS. Wouldn't it be better to
> use the tcflow() system call as described in SUSv3 and which should be
> available on all systems?
You mean tcsendbreak?
Maybe, although implementations don't seem to provide much granualarity
for the length of the break (OpenBSD uses a hard-coded 0.25 to 0.5 sec,
Linux uses 0.25 - 0.5 sec blocks, and it's not clear from the man page
what Solaris does).
Does the duration of the break matter that much? The code already
truncates it to 0.5 to 3 sec.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list