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

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

 



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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]