mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
r21956: Fix bug reported by don.mccall@hp.com for platforms
without utimes() call (only utime()). Jeremy. (This used to be commit 63b061a2ea2ee1eb06d9b568743b2356c107ec66)
This commit is contained in:
parent
772b70b478
commit
28220ed710
@ -632,7 +632,7 @@ static int vfswrap_ntimes(vfs_handle_struct *handle, const char *path, const str
|
||||
}
|
||||
#elif defined(HAVE_UTIME)
|
||||
{
|
||||
struct utimebuf times;
|
||||
struct utimbuf times;
|
||||
times.actime = convert_timespec_to_time_t(ts[0]);
|
||||
times.modtime = convert_timespec_to_time_t(ts[1]);
|
||||
result = utime(path, times);
|
||||
|
Loading…
x
Reference in New Issue
Block a user