bug-gnulib
[Top][All Lists]
Advanced

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

Re: POSIX 2008 available, openat


From: Bruno Haible
Subject: Re: POSIX 2008 available, openat
Date: Mon, 15 Dec 2008 02:41:44 +0100
User-agent: KMail/1.9.9

James Youngman wrote:
> only fchdir  does have the
> advantage that we know that restoring the current directory can't fail.

Yes, this should work on Unix systems. On mingw, open (".", O_RDONLY) fails,
but that should be fixable by modifying lib/open.c and lib/fchdir.c.

But is that restriction - an error when handling directories which have '--x'
permission - acceptable?

Bruno




reply via email to

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