At Wed, 28 Apr 2004 19:48:53 +0300,
Ognyan Kulev wrote:
> In glibc, the basic routines for turning file names into ports are 
> hurd/hurdlookup.c:__hurd_file_name_lookup and friends (which end up 
> calling __hurd_file_name_lookup).  There is a LOOKUP argument (pointer 
> to function), but I couldn't find where it is used by callers.  By 
> default, __dir_lookup is assumed (in hurd/lookup-retry.c).  And 
> libdiskfs/dir-lookup.c:dir_lookup RPC relies on diskfs_lookup for the 
> components of the file name.
>
> I've heard that "" file name has some special use in the Hurd.

Yeah, I think it just reopens the node.  

> So there 
> is possibility that changing EINVAL to ENOENT will have unexpected 
> sequences.  Perhaps Roland or Thomas would enlighten us if such change 
> will break something.

It is ultimatively glibc's responsibility to map the internal Hurd
interfaces to POSIX interfaces.  Of course we also can change the Hurd
interfaces, but here I suspect it's more an issue on the glibc's side.

Thanks,
Marcus



_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to