The branch, v3-0-test has been updated via 6f57b52a5e314747be1c5f51c7264724523fff00 (commit) from 380e957edde3c2318b99fa072019cfa4f5493f96 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log ----------------------------------------------------------------- commit 6f57b52a5e314747be1c5f51c7264724523fff00 Author: Stefan Metzmacher <[EMAIL PROTECTED]> Date: Thu Jan 3 20:55:42 2008 +0100 Revert "no-atime-on-mtime" This reverts commit 54adb86890eb22b6bcf0bc1163662c3f9c075777. Sorry I didn't want to push that... metze ----------------------------------------------------------------------- Summary of changes: source/smbd/dosmode.c | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) Changeset truncated at 500 lines: diff --git a/source/smbd/dosmode.c b/source/smbd/dosmode.c index e6d2309..28d8a77 100644 --- a/source/smbd/dosmode.c +++ b/source/smbd/dosmode.c @@ -605,21 +605,14 @@ int file_ntimes(connection_struct *conn, const char *fname, const struct timespe BOOL set_filetime(connection_struct *conn, const char *fname, const struct timespec mtime) { - SMB_STRUCT_STAT sbuf; struct timespec ts[2]; if (null_timespec(mtime)) { return(True); } - ZERO_STRUCT(sbuf); - - if (SMB_VFS_STAT(conn,fname,&sbuf) == -1) { - return False; - } - - ts[0] = get_atimespec(&sbuf); /* atime. */ ts[1] = mtime; /* mtime. */ + ts[0] = ts[1]; /* atime. */ if (file_ntimes(conn, fname, ts)) { DEBUG(4,("set_filetime(%s) failed: %s\n",fname,strerror(errno))); -- Samba Shared Repository