a/ChangeLog b/ChangeLog
index 31fd396b43..0a6def457d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2024-05-24 Collin Funk
+ readutmp: Fix dependencies.
+ * modules/readutmp (Depends-on): Add gettimeofday.
+
boot-time, readutmp: Add a Native Windows boot time fallback.
* lib/bo
Collin Funk wrote:
> I've fixed those in the attached patch and pushed it.
Thanks.
readutmp now needs a module dependency on gettimetoday, right?
Bruno
c2435dc1fc80c3740204c59c1c7b6d9adbe54d3 Mon Sep 17 00:00:00 2001
From: Collin Funk
Date: Fri, 24 May 2024 19:23:25 -0700
Subject: [PATCH] boot-time, readutmp: Add a Native Windows boot time fallback.
* lib/boot-time-aux.h (initialize, get_windows_boot_time_fallback): New
functions.
* lib/boot-tim
Hi Collin,
> I wrote this patch just now. Any thoughts?
- In line 393 the #endif is misindented.
- The readutmp module is a second user of boot-time-aux.h. It should also
make a call to get_windows_boot_time_fallback.
Other than that, it's OK to push.
> I've only tested it with a mingw compil
Hi Bruno,
On 5/24/24 4:44 AM, Bruno Haible wrote:
> The longer the API is available, the better. Gnulib supports
> Windows XP as the minimum. For modules used by Emacs ('boot-time' in
> particular) it should run even on Windows 2000.
>
> Which means that the code needs to fetch a pointer to the p
Hi Bruno,
On 5/24/24 4:44 AM, Bruno Haible wrote:
>> Does the get_windows_boot_time () not work on Native Windows? The
>> Mingw and MSVC actions fail it.
>
> There's apparently a difference between a full installation of
> Windows 10 and the image that they use in the Microsoft Azure cloud.
Ah,
Hi Collin,
> Does the get_windows_boot_time () not work on Native Windows? The
> Mingw and MSVC actions fail it.
There's apparently a difference between a full installation of
Windows 10 and the image that they use in the Microsoft Azure cloud.
> I'm thinking that it could be implemented using G
Hi Bruno,
Does the get_windows_boot_time () not work on Native Windows? The
Mingw and MSVC actions fail it.
I'm thinking that it could be implemented using GetTickCount64 ().
The Windows documentation says [1]:
Retrieves the number of milliseconds that have elapsed since the
system was s