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:
3639e52
)
setting mtime setted atime on BSD systems, fix this
author
Björn Jacke
<bj@sernet.de>
Thu, 29 Jan 2009 12:23:26 +0000
(13:23 +0100)
committer
Jeremy Allison
<jra@samba.org>
Thu, 29 Jan 2009 17:51:36 +0000
(09:51 -0800)
source3/lib/time.c
patch
|
blob
|
history
diff --git
a/source3/lib/time.c
b/source3/lib/time.c
index 14664716395f33bb34b7faab160dc0260de9eeb5..d3b85433ea467bb32822789e98e79dd0c96c08b3 100644
(file)
--- a/
source3/lib/time.c
+++ b/
source3/lib/time.c
@@
-483,8
+483,8
@@
void set_mtimespec(SMB_STRUCT_STAT *pst, struct timespec ts)
#elif defined(HAVE_STAT_ST_MTIME_N)
pst->st_mtime = ts.tv_sec;
pst->st_mtime_n = ts.tv_nsec
-#elif defined(HAVE_STAT_ST_
A
TIMESPEC)
- pst->st_
a
timespec = ts;
+#elif defined(HAVE_STAT_ST_
M
TIMESPEC)
+ pst->st_
m
timespec = ts;
#else
#error CONFIGURE_ERROR_IN_DETECTING_TIMESPEC_IN_STAT
#endif