Fix use of utimensat(2).
authorLudovic Courtès <ludo@gnu.org>
Mon, 18 Jan 2010 23:23:33 +0000 (00:23 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 18 Jan 2010 23:23:33 +0000 (00:23 +0100)
commitadfb42846617f6ed11cbe6ca9f0256e48a0cbb49
tree897c9698e6ff4033a977af0a8eecbadebfa988ea
parent5b6b22e8ead58068d9085bc72d2a719f7cbfd3b7
Fix use of utimensat(2).

* libguile/posix.c (scm_utime): Use "#ifdef HAVE_UTIMENSAT", not "#if
  HAVE_UTIMENSAT".  Fix GCC warning around call to utimensat(2):
  "passing argument 3 of 'utimensat' from incompatible pointer type".

* test-suite/tests/posix.test ("utime"): New test prefix.
libguile/posix.c
test-suite/tests/posix.test