Re: touch and utimens troubles on new/old software combinations
From:
Eric Blake
Subject:
Re: touch and utimens troubles on new/old software combinations
Date:
Mon, 02 Jun 2008 18:53:33 -0600
User-agent:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Andreas Schwab on 6/2/2008 3:57 PM:
| Daniel Jacobowitz <address@hidden> writes:
|
|> Mike, I thought the *at wrappers fell back to emulation if the
|> syscalls were missing. Is that impossible for utimensat?
|
| Emulating utimensat is rather difficult, due to the UTIME_NOW/UTIME_OMIT
| feature.
Currently, gnulib only uses utimensat within the gnulib interface utimens,
which is not documented as supporting UTIME_NOW/UTIME_OMIT. Therefore, I
think that in this case, a gnulib fallback is easier to implement than
waiting for a glibc fallback.
- --
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
iEYEARECAAYFAkhElg0ACgkQ84KuGfSFAYDmtACguHzs8hAXLTD386tHBpcCpT0i
DGsAn1j2w7CLmSaj7bSQa2F+uxzIBpa0
=s96l
-----END PGP SIGNATURE-----