
3 Sep
2008
3 Sep
'08
7:43 a.m.
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