This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [BUG] Generic syscalls -- chmod vs. fchmodat
- From: Roland McGrath <roland at redhat dot com>
- To: Andries Brouwer <aebr at win dot tue dot nl>
- Cc: Arnd Bergmann <arnd at arndb dot de>, linasvepstas at gmail dot com, Chris Metcalf <cmetcalf at tilera dot com>, GLIBC Devel <libc-alpha at sourceware dot org>, linux-kernel at vger dot kernel dot org, libc-ports at sourceware dot org, linux-api at vger dot kernel dot org, Mike Frysinger <vapier at gentoo dot org>
- Date: Thu, 10 Feb 2011 10:17:20 -0800 (PST)
- Subject: Re: [BUG] Generic syscalls -- chmod vs. fchmodat
- References: <AANLkTikhKHnR+7DskxYqWXduX4=tpfgsfL4sNYq+4QDq@mail.gmail.com> <201101251529.24779.arnd@arndb.de> <20110125174515.C1DC2183C19@magilla.sf.frob.com> <20110210181221.GA19413@win.tue.nl>
> On Tue, Jan 25, 2011 at 09:45:15AM -0800, Roland McGrath wrote:
>
> > the empty string has never been a valid relative pathname.
>
> Hmm. I definitely recall otherwise.
>
> The old Unix definition is that the empty string stands for "."
> so that 'ls ""' means the same as 'ls .'
> and 'ls /tmp/""' the same as 'ls /tmp/.'.
I'm aware of that. I was talking about Linux and POSIX.
Thanks,
Roland