Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2002 02:24:30 -0800
From:      Mike Makonnen <mike_makonnen@yahoo.com>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        sheldonh@starjuice.net, audit@freebsd.org, bug-followup@freebsd.org
Subject:   Re: bin/33187: ls -dF and trailing slashes
Message-ID:  <200201101024.g0AAOUF03700@blackbox.pacbell.net>
In-Reply-To: <20020109161906.N41379@sunbay.com>
References:  <57311.1010584273@axl.seasidesoftware.co.za> <20020109161906.N41379@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 9 Jan 2002 16:19:06 +0200
Ruslan Ermilov <ru@freebsd.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201101024.g0AAOUF03700>