1
0
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:
Jeremy Allison
2006-08-24 16:44:00 +00:00
committed by Gerald (Jerry) Carter
parent 3c54720285
commit 425280a1d2
14 changed files with 396 additions and 257 deletions

View File

@@ -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);