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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user