Subject: CVS commit: [kqueue] syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 09/24/2002 12:12:07
Module Name:	syssrc
Committed By:	jdolecek
Date:		Tue Sep 24 09:12:06 UTC 2002

Modified Files:
	syssrc/sys/kern [kqueue]: tty.c

Log Message:
filt_ttywrite(): according to EVFILT_WRITE spec, kn_data should contain
  'amount of space remaining in the write buffer'. So, do not put
  t_outq.c_cc there (which is count of characters in queue), but
  't_outq.c_cn - t_outq.cc' (i.e. total ring buffer length without count
  if characters in queue)

also shuffle filt_*() functions around to not need forward declaration,
  and g/c the prototypes on top


To generate a diff of this commit:
cvs rdiff -r1.128.2.10 -r1.128.2.11 syssrc/sys/kern/tty.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.