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: [EMAIL PROTECTED] (Thomas Bushnell, BSG)
Message-ID: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
Date: 21 Aug 2001 10:44:12 -0700

Roland McGrath <[EMAIL PROTECTED]> 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
[email protected]
http://mail.gnu.org/mailman/listinfo/bug-hurd



-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de


Reply via email to