Files
xrdp/common
matt335672 1f79eb1c01 Replace g_time3() with g_get_elapsed_ms()
The function as specified used gettimeofday() which is susceptible
to manual time changes, and is obsoleted in POSIX.1-2008. The
replacement uses clock_gettime(CLOCK_MONOTONIC, ) which is not
susceptible to manual time changes (at least on Linux) and cannot run
backwards.

Also, on systems with 32-bit integers, the value returned by this
function wraps around every 49.7 days. To cope with a wraparound in
a way compliant with the C standard, this value needs to return an
unsigned integer type rather than a signed integer type.
2024-12-16 16:13:15 +00:00
..
2022-09-03 02:01:48 +00:00
2022-01-28 12:23:40 +00:00
2023-05-22 14:43:22 +01:00
2023-05-22 14:43:22 +01:00
2023-04-24 14:20:14 +01:00
2024-08-05 10:44:10 +01:00
2024-11-08 15:57:40 +00:00
2024-11-08 15:57:40 +00:00
2023-03-14 02:02:09 -04:00
2023-10-26 15:17:17 +01:00
2020-01-06 15:46:37 +00:00
2022-09-03 02:01:48 +00:00
2020-01-06 15:46:37 +00:00
2020-01-06 15:46:37 +00:00
2023-10-18 10:07:49 +01:00
2024-02-08 15:52:54 +09:00
2024-08-05 10:44:10 +01:00
2024-01-02 11:07:28 +00:00
2022-12-09 17:34:25 +00:00
2023-10-18 10:07:49 +01:00
2014-07-25 22:24:40 -07:00
2024-08-05 10:44:10 +01:00