Re: [PATCH] MacOS: Handle changes to args in xdrproc_t

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

 



On Mon, Oct 28, 2013 at 1:05 PM, Doug Goldstein <cardoe@xxxxxxxxxx> wrote:
> With Mac OS X 10.9, xdrproc_t is no longer defined as:
>
> typedef bool_t (*xdrproc_t) (XDR *, void *, ...);

This was the typedef from Linux accidentally so I've updated that as well.

>
> but instead as
>
> typedef bool-t (*xdrproc_t) (XDR *, void *, unsigned int);

I fixed the typo above in "bool_t".

For some more information, I was originally thinking about just
passing the third argument as 0 always within our code but
unfortunately that would break at least on uclibc where they had the
same concerns as Apple but instead changed the prototype to just 2
parameters. If people would prefer that I can submit that change
instead.

-- 
Doug Goldstein

--
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]