I'd like Roland's opinion on this. Roland, for many functions using dir_lookup we get EINVAL rathern than the ENOENT required by POSIX when a pathname is the empty string "". Where should this be fixed?
Just a small correction: dir_lookup will treat "" like ".". The problem is with dir_{link,unlink,mkdir,rmdir,rename} which receive the last pathname component of the referred pathname. When this pathname component is "", these functions use diskfs_lookup and return EINVAL.
What POSIX requires precisely is ENOENT when the whole pathname is empty string: http://mail.gnu.org/archive/html/bug-hurd/2004-04/msg00252.html
Regards, ogi
_______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd