Prefer new POSIX 200x interfaces over futimesat.
authorEric Blake <ebb9@byu.net>
Thu, 29 May 2008 03:29:02 +0000 (21:29 -0600)
committerEric Blake <ebb9@byu.net>
Thu, 29 May 2008 12:05:53 +0000 (06:05 -0600)
commitfaeb3e6b2191565dc3197804cd9ff624f26a1004
tree136384e8b09410527b03a055d61fcd32f8fee4e4
parenta0ecdf40d5612e344770130b895d41c90c167dad
Prefer new POSIX 200x interfaces over futimesat.

* m4/utimens.m4 (gl_UTIMENS): Check for futimens, utimensat.
* lib/utimens.c (gl_futimens): Use them for nanosecond resolution
when available.
[HAVE_BUGGY_NFS_TIME_STAMPS]: Allow C89 compilation.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/utimens.c
m4/utimens.m4