bug-gnulib
[Top][All Lists]
Advanced

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

Re: make openat declarations consistent


From: Eric Blake
Subject: Re: make openat declarations consistent
Date: Thu, 03 Sep 2009 07:02:10 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Meyering on 9/3/2009 6:52 AM:
> But in the long run, we should provide a replacement function,
> as we do for all other *at functions.

In the *at family, gnulib is still missing:

faccessat
linkat
mknodat
mkfifoat
readlinkat
renameat
symlinkat
utimensat (well, we use it in utimens if available)

I can probably look at doing these; except for renameat (which has two fds
to worry about) and utimensat (which requires some time truncation to map
onto existing functions), it seems like the rest can reuse the existing
at-func.c file for /proc/self/fd and save_cwd/fchdir/func/restore_cwd magic.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqfvlIACgkQ84KuGfSFAYATxQCdEzJXNKIc/Dl1dsq8eJ3xkbZX
El4An3hUidBiyc50S28HxjbTlxKhQ+nq
=nbg/
-----END PGP SIGNATURE-----




reply via email to

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