On 2010-02-18, Bruce Evans wrote:
> > critter phk> ./a.out
> > a.out: Told you so: Is a directory
> 
> Better fix the kernel bug than break the documentation then.

Seconded.

> namei() returns EISDIR for "/" (due to DELETE and and the special handling
> of the degenerate case which includes "/" and not much else, else the bug
> would affect more cases).

This causes a problem also for mkdir(2), rmdir(2) and rename(2). All of
them incorrectly return EISDIR for "/".

An open PR and some discussion:

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/59739
http://lists.freebsd.org/pipermail/freebsd-hackers/2009-November/029958.html

-- 
Jaakko
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to