From owner-freebsd-hackers Wed May 23 17: 9:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from newgold.net (usr.srcsys.org [209.42.222.44]) by hub.freebsd.org (Postfix) with SMTP id 255F837B423 for ; Wed, 23 May 2001 17:09:12 -0700 (PDT) (envelope-from jmallett@newgold.net) Received: (qmail 27358 invoked by uid 1000); 24 May 2001 00:06:26 -0000 Date: Wed, 23 May 2001 20:06:26 -0400 (EDT) From: "Joseph A. Mallett" X-X-Sender: To: Cc: Subject: Re: telnet to AF_UNIX sockets [PATCH] Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 ] [ xMach Core Team xMach: Proactively Unbloated Microkernel BSD ] [ FreeBSD, NetBSD, & xMach User; (Obj)C(++) Coder ] [ http://xMach.org ] -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d-- s+:++ a--- C+++ UB++++ P+++ L- E---- W++ N+ o-- K- w++ O M+ V PS+ PE- Y+ PGP++ t++ 5-- X+ R tv- b++ DI+ D--- G e* h! r% z+ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message