eio: use futimesat() if futimes() is not available
Ben Noordhuis
info at bnoordhuis.nl
Sat Oct 15 17:36:18 CEST 2011
On Sat, Oct 15, 2011 at 10:56, Marc Lehmann <schmorp at schmorp.de> wrote:
> On Wed, Oct 12, 2011 at 11:06:12PM +0200, Ben Noordhuis <info at bnoordhuis.nl> wrote:
>> Attached is a patchlet that makes libeio fall back to futimesat() if
>> the platform doesn't support futimes(), like e.g. SunOS.
>
> Hi, thats sane, but libeio cvs already uses futimensat when available
> (futimesat is obsolete) - can you check whether this works for you?
Sorry, I should've mentioned that in my original email.
- The patch is based against the current CVS HEAD.
- SunOS doesn't have futimensat(). Newer flavours have futimens() but
the systems I work with don't.
More information about the libev
mailing list