bug-hurd
[Top][All Lists]
Advanced

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

Re: glibc: changing file_name_split()'s interface slightly to fix the "/


From: Jérémie Koenig
Subject: Re: glibc: changing file_name_split()'s interface slightly to fix the "/" case
Date: Sun, 13 Jun 2010 11:22:43 +0200

Hi Roland,

On Sun, Jun 13, 2010 at 10:53 AM, Roland McGrath <roland@frob.com> wrote:
> The . bit is bogus.  It should behave the same as file_name_split.

You mean directory_name_split("/") should return (<root port>, "") ?
This makes mkdir(), for instance, fail with EINVAL as well.

Should it be handled on a case-by-case basis in the individual POSIX
calls (mkdir, rmdir, link, unlink, ...) ?
-- 
Jérémie Koenig <jk@jk.fr.eu.org>
http://jk.fr.eu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]