1
0
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:
Jeremy Allison 2007-03-23 22:23:09 +00:00 committed by Gerald (Jerry) Carter
parent 772b70b478
commit 28220ed710

View File

@ -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);