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:
committed by
Gerald (Jerry) Carter
parent
386a11f49e
commit
2fc57c9a2c
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user