1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

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 8a77f520fa)
This commit is contained in:
Jeremy Allison
2007-10-31 16:32:48 -07:00
parent 8f1f2f04c7
commit 0bb1a6ec2d
3 changed files with 32 additions and 16 deletions

View File

@ -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;
}