mirror of
https://github.com/samba-team/samba.git
synced 2025-11-27 08:23:49 +03:00
r17800: Start using struct timespec internally for file times
on the wire. This allows us to go to nsec resolution for systems that support it. It should also now be easy to add a correct "create time" (birth time) for systems that support it (*BSD). I'll be watching the build farm closely after this one for breakage :-). Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
3c54720285
commit
425280a1d2
@@ -41,9 +41,9 @@ typedef struct file_info
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
/* these times are normally kept in GMT */
|
||||
time_t mtime;
|
||||
time_t atime;
|
||||
time_t ctime;
|
||||
struct timespec mtime_ts;
|
||||
struct timespec atime_ts;
|
||||
struct timespec ctime_ts;
|
||||
pstring name;
|
||||
pstring dir;
|
||||
char short_name[13*3]; /* the *3 is to cope with multi-byte */
|
||||
|
||||
Reference in New Issue
Block a user