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(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org