[libvirt] [PATCH 2/2] build: allow for 64-bit pid
Eric Blake
eblake at redhat.com
Thu Jan 26 12:41:22 UTC 2012
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 at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120126/cfa6a18e/attachment-0001.sig>
More information about the libvir-list
mailing list