[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Fix utimensat (aka unbreak cp -a)
From: |
Laurent Desnogues |
Subject: |
Re: [Qemu-devel] [PATCH] Fix utimensat (aka unbreak cp -a) |
Date: |
Tue, 21 Apr 2009 10:36:19 +0200 |
On Tue, Apr 21, 2009 at 10:24 AM, Arnaud Patard
<address@hidden> wrote:
>
>
> Don't use the glibc function for utimensat because glibc returns -EINVAL
> if 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 (for instance, see __futimes in
> sysdeps/unix/sysv/linux/futimes.c in glibc tree).
>
>
> Signed-off-by: Arnaud Patard <address@hidden>
Acked-by: Laurent Desnogues <address@hidden>