The traps of copy & paste - this time it should really work...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1954 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -30,7 +30,7 @@ utime(const char *path, const struct utimbuf *times)
|
|||||||
} else
|
} else
|
||||||
stat.st_atime = stat.st_mtime = time(NULL);
|
stat.st_atime = stat.st_mtime = time(NULL);
|
||||||
|
|
||||||
status = sys_write_path_stat(path, false, &stat, FS_WRITE_STAT_MTIME | FS_WRITE_STAT_ATIME);
|
status = sys_write_path_stat(path, true, &stat, FS_WRITE_STAT_MTIME | FS_WRITE_STAT_ATIME);
|
||||||
|
|
||||||
RETURN_AND_SET_ERRNO(status);
|
RETURN_AND_SET_ERRNO(status);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user