[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/
- glibc: changing file_name_split()'s interface slightly to fix the "/" case, Jérémie Koenig, 2010/06/13
- Re: glibc: changing file_name_split()'s interface slightly to fix the "/" case, Roland McGrath, 2010/06/13
- Re: glibc: changing file_name_split()'s interface slightly to fix the "/" case,
Jérémie Koenig <=
- Re: glibc: changing file_name_split()'s interface slightly to fix the "/" case, Roland McGrath, 2010/06/13
- Re: glibc: changing file_name_split()'s interface slightly to fix the "/" case, Jérémie Koenig, 2010/06/13
- Re: glibc: changing file_name_split()'s interface slightly to fix the "/" case, Roland McGrath, 2010/06/13
- Re: glibc: changing file_name_split()'s interface slightly to fix the "/" case, Jérémie Koenig, 2010/06/13
- Re: glibc: changing file_name_split()'s interface slightly to fix the "/" case, Roland McGrath, 2010/06/13