From owner-freebsd-bugs Thu Jan 10 8:52:45 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 58C1137B41B for ; Thu, 10 Jan 2002 08:52:43 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id g0AGqfC00761; Thu, 10 Jan 2002 11:52:41 -0500 (EST) (envelope-from wollman) Date: Thu, 10 Jan 2002 11:52:41 -0500 (EST) From: Garrett Wollman Message-Id: <200201101652.g0AGqfC00761@khavrinen.lcs.mit.edu> To: Mike Makonnen Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/33187: ls -dF and trailing slashes In-Reply-To: <200201101030.g0AAU1t57656@freefall.freebsd.org> References: <200201101030.g0AAU1t57656@freefall.freebsd.org> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org < said: > ``ls -dF /usr////////////////''. It seems like ls(1) (or rather the fts_* family of functions) doesn't care how many trailing '/' there are. Is this a possible bug in fts_*? Anyone know what POSIX has to say about this? POSIX says that consecutive slashes, after the first component in a path, do not change the meaning of the path. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message