Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 09/10/2000 20:26:46
Module Name:	syssrc
Committed By:	jdolecek
Date:		Sun Sep 10 17:26:45 UTC 2000

Modified Files:
	syssrc/sys/kern: tty_pty.c

Log Message:
change DEFAULT_MAXPTYS to 256
make all local variables static
use simplelocks - we really need only mutexes, full locks are not necessary
update couple of comments to be more accurate

add function pty_maxptys(), which provides a safe way to get&set maxptys - this
	also supports setting maxptys to lower than current value, if the
	value is lower or equal current number of ptys


To generate a diff of this commit:
cvs rdiff -r1.47 -r1.48 syssrc/sys/kern/tty_pty.c

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