From 0bb1a6ec2d963c2001230142692de8335c540434 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 31 Oct 2007 16:32:48 -0700 Subject: Note when we're setting change time, not write time, and send message accordingly. Apart from not supporting create time we now pass the S4 RAW-NOTIFY torture. Jeremy. (This used to be commit 8a77f520fa03afa60eac2aaeab4babe7dd8db4f0) --- source3/smbd/dosmode.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'source3/smbd/dosmode.c') diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index 18e6439be4..8e3c9b4c91 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -591,7 +591,7 @@ int file_ntimes(connection_struct *conn, const char *fname, const struct timespe return ret; } - + /******************************************************************* Change a filetime - possibly allowing DOS semantics. *******************************************************************/ @@ -609,12 +609,13 @@ bool set_filetime(connection_struct *conn, const char *fname, ts[0] = ts[1]; /* atime. */ if (file_ntimes(conn, fname, ts)) { - DEBUG(4,("set_filetime(%s) failed: %s\n",fname,strerror(errno))); + DEBUG(4,("set_filetime(%s) failed: %s\n", + fname,strerror(errno))); return False; } notify_fname(conn, NOTIFY_ACTION_MODIFIED, - FILE_NOTIFY_CHANGE_LAST_WRITE, fname); - - return True; + FILE_NOTIFY_CHANGE_LAST_WRITE, fname); + + return true; } -- cgit