Get closer to an accurate model of Windows timestamp changes.
authorJeremy Allison <jra@samba.org>
Fri, 6 Nov 2009 00:20:11 +0000 (16:20 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 6 Nov 2009 00:25:07 +0000 (16:25 -0800)
commita153f7ddd8b40cbf9c26ef66ad397ad41cdc9cc4
treecba7cefb48112d139f1c25576cab54eb0591dfdf
parent139711dcbd704d43fa9861e217fed8d8f92c571d
Get closer to an accurate model of Windows timestamp changes.
"Normal" non truncate writes always cause the timestamp to
be set on close. Once a close is done on a handle this can
reset the sticky write time to current time also.
Updated smbtorture4 confirms this.
Jeremy.
(cherry picked from commit 7f9fe127ba31e6dd064d090d5ffc8eeb377627ab)
source3/include/proto.h
source3/smbd/close.c
source3/smbd/dosmode.c
source3/smbd/fileio.c
source3/smbd/nttrans.c
source3/smbd/reply.c