linux-user: fix utimensat when used as futimens
authorRiku Voipio <riku.voipio@nokia.com>
Tue, 21 Apr 2009 12:01:51 +0000 (15:01 +0300)
committerRiku Voipio <riku.voipio@nokia.com>
Thu, 7 May 2009 13:31:35 +0000 (16:31 +0300)
commitf779a8e4e8ee999968a0827992ef46def8b03331
tree014926c7acd7807fcc20abf079dee3893a5adb53
parent668b3f26da2e6b25eb30cbab8ad147e2ea916284
linux-user: fix utimensat when used as futimens

The glibc function for utimensat glibc returns -EINVAL when the path is null
which is a different behaviour with the syscall.

path can be null because internally the glibc is using utimensat with
path null when implmenting futimens. If path is null, call futimes
instead.
configure
linux-user/syscall.c