From owner-freebsd-current@FreeBSD.ORG Wed Jul 6 13:58:47 2005 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A21516A41C; Wed, 6 Jul 2005 13:58:47 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from haven.freebsd.dk (haven.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B80D43D46; Wed, 6 Jul 2005 13:58:47 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (unknown [192.168.48.2]) by haven.freebsd.dk (Postfix) with ESMTP id A21E6BC83; Wed, 6 Jul 2005 13:58:45 +0000 (UTC) To: Joe Marcus Clarke From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 06 Jul 2005 05:19:20 EDT." <1120641560.95261.1.camel@shumai.marcuscom.com> Date: Wed, 06 Jul 2005 15:58:45 +0200 Message-ID: <6108.1120658325@phk.freebsd.dk> Sender: phk@phk.freebsd.dk Cc: current@FreeBSD.org Subject: Re: (problem found) grantpt broken on -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2005 13:58:47 -0000 In message <1120641560.95261.1.camel@shumai.marcuscom.com>, Joe Marcus Clarke w rites: >Actually, I think the real solution is to reimplement ptsname() using >devname(3) similar to the way ttyname() is done. Yes, this is the right way to solve the problem. I've eyeballed the patch and didn't see anything obviously wrong. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.