mirror of
https://github.com/samba-team/samba.git
synced 2025-11-09 20:23:51 +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
@@ -282,7 +282,9 @@ BOOL cli_get_fs_volume_info(struct cli_state *cli, fstring volume_name, uint32 *
|
||||
}
|
||||
|
||||
if (pdate) {
|
||||
*pdate = interpret_long_date(rdata);
|
||||
struct timespec ts;
|
||||
ts = interpret_long_date(rdata);
|
||||
*pdate = ts.tv_sec;
|
||||
}
|
||||
if (pserial_number) {
|
||||
*pserial_number = IVAL(rdata,8);
|
||||
|
||||
Reference in New Issue
Block a user