Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 20:06:26 -0400 (EDT)
From:      "Joseph A. Mallett" <jmallett@xMach.org>
To:        <dillon@earth.backplane.com>
Cc:        <freebsd-hackers@freebsd.org>
Subject:   Re: telnet to AF_UNIX sockets [PATCH]
Message-ID:  <Pine.BSO.4.33.0105232002210.7978-100000@Aphex.NewGold.NET>

next in thread | raw e-mail | index | archive | help
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            <jmallett@xMach.org> ] [ 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSO.4.33.0105232002210.7978-100000>