From owner-freebsd-hackers Wed May 23 17:14:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 38CBC37B423 for ; Wed, 23 May 2001 17:14:33 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.3/8.11.2) id f4O0EVg18944; Wed, 23 May 2001 17:14:31 -0700 (PDT) (envelope-from dillon) Date: Wed, 23 May 2001 17:14:31 -0700 (PDT) From: Matt Dillon Message-Id: <200105240014.f4O0EVg18944@earth.backplane.com> To: "Joseph A. Mallett" Cc: Subject: Re: telnet to AF_UNIX sockets [PATCH] References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG : :Looking at the patch, is it safe to assume that if there's a '/' in a :hostname, it MUST be a AF_UNIX socket? If so, wouldn't a strchr(hostp, :'/') be better than 'hostp[0] == '/''? This way one can use relative paths :as well, not just absolute ones. : :-- :[ Joseph Mallett ] [ http://srcsys.org ] 'maybe'. Generaly speaking, to ensure that we do not break some existing use of telnet it is best to be conservative. You can always do 'telnet -u relative_path' -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message