From owner-cvs-src-old@FreeBSD.ORG Thu Feb 12 19:22:02 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4680106567A for ; Thu, 12 Feb 2009 19:22:00 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C277B8FC1C for ; Thu, 12 Feb 2009 19:22:00 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1CJM01I098248 for ; Thu, 12 Feb 2009 19:22:00 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1CJM0ZJ098247 for cvs-src-old@freebsd.org; Thu, 12 Feb 2009 19:22:00 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200902121922.n1CJM0ZJ098247@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Thu, 12 Feb 2009 19:21:48 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc/etc.amd64 ttys src/etc/etc.arm ttys src/etc/etc.i386 ttys src/etc/etc.ia64 ttys src/etc/etc.mips ttys src/etc/etc.powerpc ttys src/etc/etc.sparc64 ttys X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 19:22:03 -0000 ed 2009-02-12 19:21:48 UTC FreeBSD src repository Modified files: etc/etc.amd64 ttys etc/etc.arm ttys etc/etc.i386 ttys etc/etc.ia64 ttys etc/etc.mips ttys etc/etc.powerpc ttys etc/etc.sparc64 ttys Log: SVN rev 188535 on 2009-02-12 19:21:48Z by ed Remove pts(4) entries from /etc/ttys. Even though I increased the amount of pts(4) entries in /etc/ttys some time ago, I didn't realize back then those entries shouldn't have been there in the first place. I just looked at the getttyent() source code and it turns out when you call setttyent(), it walks through /dev/pts and looks for the device with the highest number. After you receive EOF's from getttyent(), it makes up entries for pts(4) devices. This means that adding entries for pts(4) is somewhat harmful, because if you now traverse the list, you get redundant entries, so just remove them. Revision Changes Path 1.17 +0 -512 src/etc/etc.amd64/ttys 1.10 +0 -512 src/etc/etc.arm/ttys 1.17 +0 -512 src/etc/etc.i386/ttys 1.11 +0 -512 src/etc/etc.ia64/ttys 1.5 +0 -512 src/etc/etc.mips/ttys 1.10 +0 -512 src/etc/etc.powerpc/ttys 1.19 +0 -512 src/etc/etc.sparc64/ttys