[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] Re: remote_protocol.{c,h} ?
- From: "Richard W.M. Jones" <rjones redhat com>
- To: Jun Koi <junkoi2004 gmail com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] Re: remote_protocol.{c,h} ?
- Date: Wed, 3 Sep 2008 12:43:23 +0100
On Wed, Sep 03, 2008 at 02:33:09PM +0900, Jun Koi wrote:
> I looked again, and see that we can generate remote_protocol.c from
> rpcgen. Currently it seems remote_protocol.c is hacked a bit to remove
> some unused stack variables? Why do we need to do such a thing, while
> compiler can optimize that for us?
It's just to remove some compiler warnings, and possibly some real
problems. The code generated by glibc rpcgen contains type punning
issues.
http://en.wikipedia.org/wiki/Type_punning
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]