From owner-freebsd-audit Thu Jan 10 2:24: 1 2002 Delivered-To: freebsd-audit@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id C44CC37B419; Thu, 10 Jan 2002 02:23:59 -0800 (PST) Received: from blackbox.pacbell.net ([64.166.86.36]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GPP009P8WVYEU@mta6.snfc21.pbi.net>; Thu, 10 Jan 2002 02:23:59 -0800 (PST) Received: (from mikem@localhost) by blackbox.pacbell.net (8.11.6/8.11.6) id g0AAOUF03700; Thu, 10 Jan 2002 02:24:30 -0800 (PST envelope-from mikem) Date: Thu, 10 Jan 2002 02:24:30 -0800 From: Mike Makonnen Subject: Re: bin/33187: ls -dF and trailing slashes In-reply-to: <20020109161906.N41379@sunbay.com> To: Ruslan Ermilov Cc: sheldonh@starjuice.net, audit@freebsd.org, bug-followup@freebsd.org Message-id: <200201101024.g0AAOUF03700@blackbox.pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.6.5 (GTK+ 1.2.10; i386--freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <57311.1010584273@axl.seasidesoftware.co.za> <20020109161906.N41379@sunbay.com> Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 9 Jan 2002 16:19:06 +0200 Ruslan Ermilov wrote: > > > It also doesn't work for ``ls -dF /usr//'' and breaks ``ls -dF /''. > Ok, the issue is a bit more complicated than I thought at first. Anyways, regardless of the patch, it seems ls(1) accepts the following: ``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? Cheers, mike makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message