Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Improve a local variable name. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | lsm-vtab |
Files: | files | file ages | folders |
SHA3-256: |
d0f6973d93c36451bf64f47de9a88abe |
User & Date: | mistachkin 2017-06-27 22:33:06.331 |
Context
2017-06-28
| ||
21:36 | Implement xLock and xTestLock for lsm1 on Win32. (check-in: 9112117dad user: mistachkin tags: lsm-vtab) | |
2017-06-27
| ||
22:33 | Improve a local variable name. (check-in: d0f6973d93 user: mistachkin tags: lsm-vtab) | |
22:27 | Initial work on porting lsmtest to Win32. (check-in: 7e669d9bfa user: mistachkin tags: lsm-vtab) | |
Changes
Changes to ext/lsm1/lsm-test/lsmtest_win32.c.
︙ | ︙ | |||
9 10 11 12 13 14 15 | int win32GetTimeOfDay( struct timeval *tp, void *tzp ){ FILETIME fileTime; ULARGE_INTEGER largeInteger; | | | | | | | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | int win32GetTimeOfDay( struct timeval *tp, void *tzp ){ FILETIME fileTime; ULARGE_INTEGER largeInteger; ULONGLONG ticks; unused_parameter(tzp); memset(&fileTime, 0, sizeof(FILETIME)); GetSystemTimeAsFileTime(&fileTime); memset(&largeInteger, 0, sizeof(ULARGE_INTEGER)); largeInteger.LowPart = fileTime.dwLowDateTime; largeInteger.HighPart = fileTime.dwHighDateTime; ticks = largeInteger.QuadPart - TICKS_UNIX_EPOCH; tp->tv_sec = (long)(ticks / TICKS_PER_SECOND); ticks -= ((ULONGLONG)tp->tv_sec * TICKS_PER_SECOND); tp->tv_usec = (long)(ticks / TICKS_PER_MICROSECOND); return 0; } #endif |