]> Savannah Git Hosting - gnulib.git/commit
readutmp: On Cygwin and Windows, return the boot time.
authorBruno Haible <bruno@clisp.org>
Fri, 11 Aug 2023 12:29:32 +0000 (14:29 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 11 Aug 2023 12:29:58 +0000 (14:29 +0200)
commite638a367656c2c774a90106df0b0bb53271d7379
tree7d8975e2aced3f2a1931bc945d3dddb56328f1a0
parent1fac141cb1193aeeed59e8f65532520ce102bfb8
readutmp: On Cygwin and Windows, return the boot time.

* lib/readutmp.h (READ_UTMP_SUPPORTED): Define also on native Windows.
* lib/readutmp.c (desirable_utmp_entry): Ignore READ_UTMP_CHECK_PIDS on
Windows.
(read_utmp_from_file): Add a BOOT_TIME entry on Windows.
ChangeLog
lib/readutmp.c
lib/readutmp.h