Re: [Qemu-devel] [PATCH] linux-user: Fix sys_utimensat (would not compile on old glibc)

2013-06-25 Thread Laurent Desnogues
On Thu, Jun 20, 2013 at 5:57 PM, Peter Maydell wrote: > Commit c0d472b12e accidentally dropped the definition of > __NR_SYS_utimensat even though its use is guarded by > CONFIG_UTIMENSAT, not CONFIG_ATFILE. Some older glibc don't > have utimensat() (even if they have the other *at() functions). >

[Qemu-devel] [PATCH] linux-user: Fix sys_utimensat (would not compile on old glibc)

2013-06-20 Thread Peter Maydell
Commit c0d472b12e accidentally dropped the definition of __NR_SYS_utimensat even though its use is guarded by CONFIG_UTIMENSAT, not CONFIG_ATFILE. Some older glibc don't have utimensat() (even if they have the other *at() functions). Fix this by correctly cleaning up the sys_utimensat() implementat