]> git.ipfire.org Git - thirdparty/coreutils.git/commit
uptime: Include VM sleep time in the "up" duration
authorBruno Haible <bruno@clisp.org>
Tue, 15 Aug 2023 19:01:13 +0000 (12:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Aug 2023 21:01:58 +0000 (14:01 -0700)
commitd8cfa5db49641f39b63aba2037c6a9e6bd95c0e0
treeab5143fca855f82f9926293c8c4b0a13e7fdec3c
parent58977651ecb64e04880d435bdf92e88df32ae924
uptime: Include VM sleep time in the "up" duration

* src/uptime.c: Don't include c-strtod.h.
(print_uptime): Don't read /proc/uptime, because the value it provides
does not change when a date adjustment occurs.
* bootstrap.conf (gnulib_modules): Remove 'uptime'.
bootstrap.conf
src/uptime.c