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

Re: [libvirt] [PATCH 2/2] build: allow for 64-bit pid



On 01/26/2012 02:08 AM, Michal Privoznik wrote:
> On 26.01.2012 01:51, Eric Blake wrote:
>> Convert daemon code to handle 64-bit pid_t (even though at the
>> moment, it is not compiled on mingw).
>>
>> * daemon/remote.c (remoteDispatchAuthList)
>> (remoteDispatchAuthPolkit): Print pid_t via %lld.
>> ---
>>  daemon/remote.c |   50 +++++++++++++++++++++++++++++---------------------
>>  1 files changed, 29 insertions(+), 21 deletions(-)
>>
> 
> ACK, although I haven't seen an architecture with 8B pid_t. But reading
> POSIX pid_t should be signed int.

mingw64 has 64-bit pid_t.  POSIX allows that, since it only requires
that pid_t be a signed integral value, not any particular size.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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