Wolfgang J�hrling <[EMAIL PROTECTED]> writes:
> > if (strcmp (name, "..") == 0)
> > {
> > /* Parent directory -- if this is the root directory, return
> > EAGAIN. Otherwise return the root node, because we know
> > that our hierarchy is only one level deep. */
>
> Why do we return EAGAIN in this case? I don't understand that (and
> neither did the people I was asking about it on #hurd).
EAGAIN in this case is not actually an error. It's a signal to the
caller that the lookup was for ".. from the root directory", which
requires special work.
Thomas
_______________________________________________
Help-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-hurd