On Wed, Feb 11, 2009 at 10:45 PM, The Rasterman Carsten Haitzler
<ras...@rasterman.com> wrote:
> On Wed, 11 Feb 2009 09:56:04 -0800 "Enlightenment SVN"
> <no-re...@enlightenment.org> said:
>
> and what valgrind complaint is this... that it complains if a struct is NOT
> packed? this is highly suspicious... :)
>

Valgrind complaint that the memory passed to write is not initialized,
and that's true if the structure is not packed on a 64bits arch where
pointer are 64bits, int 32bits and where the compiler want to align
every thing on 64bits.

This uninitialized part of the structure is not used by both part of
the pipe, so it doesn't influence anything real. But it's annoying to
have some warning in valgrind and to know that we manipulate garbage
over the pipe for nothing.
-- 
Cedric BAIL

------------------------------------------------------------------------------
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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to