bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libvirt] [PATCH libvirt 6/6] Cast timeval.tv_sec long to localtime


From: Marc-André Lureau
Subject: Re: [libvirt] [PATCH libvirt 6/6] Cast timeval.tv_sec long to localtime expected type time_t
Date: Thu, 26 Jan 2012 16:42:31 +0100

On Thu, Jan 26, 2012 at 3:01 PM, Bruno Haible <address@hidden> wrote:
> Eric Blake wrote:
>> <_timeval.h>:
>> struct timeval
>> {
>>         long tv_sec;
>>         long tv_usec;
>> };
>>
>> Oops.  struct timeval is generating a struct timeval with a 32-bit
>> tv_sec even when time_t is 64-bits.
>
> mingw64 is still in development. Please, Marc-André, can you work with
> them, upstream, to make sure that they follow the definition of
> 'struct timeval' as described by POSIX [1][2]? This type is not defined
> by the Windows API; the mingw people have the power to define it correctly.

Ok, I sent a mail to mingw64 mailing list with a proposed patch. It's
waiting for moderator approvals. Will report here once it is solved
there

-- 
Marc-André Lureau



reply via email to

[Prev in Thread] Current Thread [Next in Thread]