This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, HURD]: null pathnames shall return ENOENT


> __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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]