Re: wine/ server/trace.c server/request.h server/p ...
March 27, 2004
3:55 p.m.
On March 26, 2004 8:48 pm, Alexandre Julliard wrote:
> Use futimes() instead of utime() to implement SetFileTime, so that
> it can be done on the client side.
+ if (atime)
+ {
+ sec = ((ULONGLONG)atime->dwHighDateTime << 32) | atime->dwLowDateTime;
+ sec = RtlLargeIntegerDivide( sec, 10000000, &nsec );
+ tv[0].tv_sec = sec - SECS_1601_TO_1970;
+ tv[0].tv_usec = (UINT)nsec / 10;
+ }
+ if (mtime)
+ {
+ sec = ((ULONGLONG)mtime->dwHighDateTime << 32) | mtime->dwLowDateTime;
+ sec = RtlLargeIntegerDivide( sec, 10000000, &nsec );
+ tv[0].tv_sec = sec - SECS_1601_TO_1970;
+ tv[0].tv_usec = (UINT)nsec / 10;
+ }
^^^^^
Shouldn't these be tv[1]?
--
Dimi.
8034
Age (days ago)
8034
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dimitrie O. Paun