Files
xrdp/sesman/chansrv
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
..
2021-05-08 16:58:11 +00:00
2024-12-16 16:13:15 +00:00
2012-10-29 20:12:24 -07:00
2017-03-14 00:21:48 -07:00
2024-11-08 15:57:40 +00:00
2024-05-05 10:44:19 +08:00
2022-09-03 02:01:48 +00:00
2021-05-08 16:58:11 +00:00
2021-05-08 16:58:11 +00:00
2021-05-08 16:58:11 +00:00
2021-05-08 16:58:11 +00:00