[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Meta files for files without new interfaces



On Wed, Jan 23, 2002 at 07:24:22PM -0500, Neal H Walfield wrote:
> > There was a discussion about some bugs in processing empty file names
> > but while reading it i didn't notice the special nature of these file
> > names.
> 
> We were referring to the file "" inside of a symlink (i.e. what
> happens when we look up a symlink whose target is ""; `ln -s "" foo').
> Here you are referring to an empty path component.

You are all off track.

Subject: Bug#107826: can not create file through a dangling symlink
From: tb@becket.net (Thomas Bushnell, BSG)
Message-ID: <87k7zxb95f.fsf@becket.becket.net>
Delivered-To: 107826@bugs.debian.org
Sender: bug-hurd-admin@gnu.org
Date: 21 Aug 2001 10:44:12 -0700

Roland McGrath <roland@gnu.org> writes:

> The specification is for all pathname translation--it always works the
> same, no matter what particular functions you are using.  In the Hurd
> implementation, this all happens in the hurd_file_name_lookup functions
> (libc/hurd/hurdlookup.c) or in the dir_lookup RPC server.  I think that all
> we need to change right now to match this new spec is to insert a check for
> "" in hurd_file_name_lookup and hurd_file_name_split.

The current interface deliberately invokes lookups of "" for various
important cases.  Turning that off in dir_lookup will break much, so
it must be done in the library.


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-hurd



-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



Reply to: