Subject: CVS commit: src/lib/libc/gen
To: None <>
From: Christos Zoulas <>
List: source-changes
Date: 11/11/2004 00:01:38
Module Name:	src
Committed By:	christos
Date:		Thu Nov 11 00:01:38 UTC 2004

Modified Files:
	src/lib/libc/gen: ttyname.3 ttyslot.c

Log Message:
It is silly to have to enumerate all the ptys in /etc/ttys in order to
get a valid ttyslot for them. Instead if and entry is not found and we
are a pty, allocate the n + 1 + minor(pty) slot.

To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/lib/libc/gen/ttyname.3
cvs rdiff -r1.11 -r1.12 src/lib/libc/gen/ttyslot.c

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