On 18/11/20 20:22 +0000, Jonathan Wakely wrote:
On 18/11/20 00:01 +0000, Jonathan Wakely wrote:
On 14/11/20 14:23 +0000, Jonathan Wakely wrote:
On Sat, 14 Nov 2020, 13:30 Mike Crowe wrote:
@@ -195,7 +205,7 @@ namespace
         if (__s.count() < 0) [[unlikely]]
           return false;

-         struct timespec rt;
+         syscall_timespec rt;
         if (__s.count() > __int_traits<time_t>::__max) [[unlikely]]
           rt.tv_sec = __int_traits<time_t>::__max;

Do these now need to be __int_traits<long>::__max in case time_t is 64-bit
yet syscall_timespec is using 32-bit long?


Ah yes. Maybe decltype(rt.tv_sec).

I'll fix that in the next patch.

And here's that next patch. I'm testing this and will commit if all
goes well.

Committed.

Reply via email to