On Fri, Feb 13, 2009 at 12:22:14AM +1100, Carsten Haitzler wrote: > technically you should memset() the entire sizeof(struct) to 0 first to ensure > it is 0.
Technically that is only silencing Valgrind and redundant from the PoV of C. If that is the goal, memset is the right approach; packed is very, very bad as soon as you have platforms like SPARC where unaligned access is extremely expensive. Joerg ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
