git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772b70b
)
r21956: Fix bug reported by don.mccall@hp.com for platforms
author
Jeremy Allison
<jra@samba.org>
Fri, 23 Mar 2007 22:23:09 +0000
(22:23 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:18:52 +0000
(12:18 -0500)
without utimes() call (only utime()).
Jeremy.
(This used to be commit
63b061a2ea2ee1eb06d9b568743b2356c107ec66
)
source3/modules/vfs_default.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_default.c
b/source3/modules/vfs_default.c
index 67e615ec23304b4ddee14b4850aa933c0619f19f..98e9aaa2631754a6bb9f6c8e7b3cab41de7e169a 100644
(file)
--- 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 utim
e
buf 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);