atime preservation
Dmitry V. Levin
ldv@altlinux.org
Wed Sep 28 22:27:00 GMT 2005
On Wed, Sep 28, 2005 at 02:20:57PM -0700, Ulrich Drepper wrote:
> Paul Eggert wrote:
> > I suggest the name "fdopendir" instead
>
> I implemented fdopendir() on the trunk. A test case even verifies that
> reading a dir doesn't change its atime.
This implementation may close the descriptor passed to fdopendir(), e.g.
in case of fcntl() or malloc() failure. In case of success, it will set
FD_CLOEXEC on this descriptor. Both seems strange for me.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20050928/b0935b7b/attachment.sig>
More information about the Libc-alpha
mailing list