Bruce Evans <[EMAIL PROTECTED]> wrote:
> On Fri, 31 Aug 2001, Brian F. Feldman wrote:
>
> > Bruce Evans <[EMAIL PROTECTED]> wrote:
> > > Here's an example of a standard utility being clueless about symlinks to
> > > nothing:
> > >
> > > $ ln -s '' foo
> > > $ cp foo bar
> > > cp: foo is a directory (not copied)
> > >
> > > foo is certainly not a directory. The bug seems to be in fts.
> >
> > No, "foo" certainly _is_ a directory. It is precisely the same thing as
> > ".".
>
> No, the empty pathname has been invalid and not an alias for "." since at
> least the first version of POSIX.
I didn't read the rest of the thread til later ;) The fact remains that
FreeBSD interprets it as such in namei(), and is it not an undefined
behavior according to POSIX?
--
Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! /
[EMAIL PROTECTED] `------------------------------'
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message