Date: Thu, 10 Jan 2002 02:30:01 -0800 (PST) From: Mike Makonnen <mike_makonnen@yahoo.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/33187: ls -dF and trailing slashes Message-ID: <200201101030.g0AAU1t57656@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/33187; it has been noted by GNATS. 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 Date: Thu, 10 Jan 2002 02:24:30 -0800 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-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201101030.g0AAU1t57656>