diff options
author | Jeremy Allison <jra@samba.org> | 2007-03-23 22:23:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:52 -0500 |
commit | 28220ed710c4567532d2cbc16c3d2bea3a741e1e (patch) | |
tree | 48c55c4be269402e2b1c5c298c13e83d2d2ff919 | |
parent | 772b70b478c0b1fc6bba769fb4e4ce2072109deb (diff) | |
download | samba-28220ed710c4567532d2cbc16c3d2bea3a741e1e.tar.gz samba-28220ed710c4567532d2cbc16c3d2bea3a741e1e.tar.bz2 samba-28220ed710c4567532d2cbc16c3d2bea3a741e1e.zip |
r21956: Fix bug reported by don.mccall@hp.com for platforms
without utimes() call (only utime()).
Jeremy.
(This used to be commit 63b061a2ea2ee1eb06d9b568743b2356c107ec66)
-rw-r--r-- | source3/modules/vfs_default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 67e615ec23..98e9aaa263 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -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); |