From owner-freebsd-current Fri Jun 15 14:24:36 2001 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 67F9737B405 for ; Fri, 15 Jun 2001 14:24:33 -0700 (PDT) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.11.4/8.11.4) id f5FLOLl22149; Sat, 16 Jun 2001 01:24:22 +0400 (MSD) (envelope-from ache) Date: Sat, 16 Jun 2001 01:24:19 +0400 From: "Andrey A. Chernov" To: Garrett Wollman Cc: Bruce Evans , freebsd-current@FreeBSD.ORG Subject: Re: tcsh.cat Message-ID: <20010616012418.A21715@nagual.pp.ru> References: <200106151308.OAA07742@rhymer.cogsci.ed.ac.uk> <200106151953.PAA25655@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106151953.PAA25655@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Fri, Jun 15, 2001 at 03:53:10PM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 15, 2001 at 15:53:10 -0400, Garrett Wollman wrote: > < said: > > > Here's an example of a complication: what is the semantics of /tmp/foo/bar > > where foo is a symlink to ""? I think the pathname resolves to > > /tmp//bar and then to /tmp/bar, but this is surprising since foo doesn't > > point anywhere. > > But this is at least consistent with the historic (pre-POSIX) behavior > where the filename "" is equivalent to ".". POSIX explicitly disallow "" filenames everywhere. I think it should be so for symlinks too. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message