Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 1995 05:11:25 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        CVS-commiters@freefall.freebsd.org, bde@freefall.freebsd.org, cvs-sys@freefall.freebsd.org
Subject:   Re: cvs commit: src/sys/kern tty_pty.c
Message-ID:  <199510251911.FAA17483@godzilla.zeta.org.au>

index | next in thread | raw e-mail

>  Modified:    sys/kern  tty_pty.c
>  Log:
>  Fixed data loss in writes to pty masters.  Data was almost always lost
>  at the end of each write for writes of more than 1K.
>  
>  Fixed handling of residual count for early returns in writes to pty masters.
>  It was only adjusted in 2 out of 6 cases.

These changes should be in 2.1 too.  Sigh.  They should be checked more
carefully than the changes in tty_subr.c.  I'm not sure what happens in
the PF_REMOTE case.  cc can only be 0 in that case if the PF_REMOTE flag
changed.  If that can happen, then cc may be too large to fit in the canq
and not everything is written.

Bruce


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510251911.FAA17483>