1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

r1085: Now it's had some proper user testing, merge in the deferred open fix. I'm

still doing more testing, but it fixes a behaviour that we've been wrong
on ever since the start of Samba.
Jeremy.
(This used to be commit 894cc6d162)
This commit is contained in:
Jeremy Allison
2004-06-08 16:14:31 +00:00
committed by Gerald (Jerry) Carter
parent 386a11f49e
commit 2fc57c9a2c
16 changed files with 976 additions and 85 deletions

View File

@ -754,3 +754,9 @@ BOOL nt_time_is_zero(NTTIME *nt)
return True;
return False;
}
SMB_BIG_INT usec_time_diff(struct timeval *larget, struct timeval *smallt)
{
SMB_BIG_INT sec_diff = larget->tv_sec - smallt->tv_sec;
return (sec_diff * 1000000) + (SMB_BIG_INT)(larget->tv_usec - smallt->tv_usec);
}