[PATCH, HURD]: null pathnames shall return ENOENT

Roland McGrath roland@redhat.com
Fri Sep 18 13:45:00 GMT 2009


> __hurd_file_name_lookup already does it, the problem here is that
> before calling it, chdir() systematically appends "/." . Or perhaps
> a cleaner solution would be to not append "/." in that case and let
> __hurd_file_name_lookup return ENOENT?

Cleaner would be to to just pass it O_DIRECTORY.


Thanks,
Roland



More information about the Libc-alpha mailing list