]> git.proxmox.com Git - qemu.git/commit - configure
linux-user: fix utimensat
authorRiku Voipio <riku.voipio@iki.fi>
Tue, 21 Apr 2009 12:01:51 +0000 (15:01 +0300)
committerRiku Voipio <riku.voipio@nokia.com>
Tue, 16 Jun 2009 13:56:28 +0000 (16:56 +0300)
commitebc996f3b13004e7272c462254522ba0102f09fe
tree52e818a802cbde12f5fbacc0d4b01b12822d8b27
parent74d753ac86c525380513dc57a2ab319606c7c07c
linux-user: fix utimensat

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.

don't try to copy timespec from user if is NULL.

Add configure check for older systems

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
configure
linux-user/syscall.c