On Thu, 10 Dec 2009 11:39:43 +0000, Pedro Alves <alves....@gmail.com>
wrote:
> A collegue found out the hard way that GetFileInformationByHandle
> was stomping the stack.  Turns out that struct
BY_HANDLE_FILE_INFORMATION
> was missing a field on CE
> <http://msdn.microsoft.com/en-us/library/aa914711.aspx>.
> I've applied this patch to fix this.
> 
> 2009-12-10  Pedro Alves  <pedroal...@users.sourceforge.net>
> 
>       * include/winbase.h (struct _BY_HANDLE_FILE_INFORMATION): Add
>       missing `dwOID' field on CE.
> 
> libmingwex.a's _fstat/fstat similarly corrupts the stack, because
> it uses GetFileInformationByHandle internally.  That can only be fixed
> by building libmingwex.a with the fixed header, though.
> 
> This makes me wonder if it's about time we split
> runtime (mingw/w32api) releases from compiler releases.  Opinions
> on that?
> 
Hi,

Nice bug, you can offer a beer to your colleague.
About splitting mingw/w32api why not but maybe the first thing to do would
be 
to fix cegcc-4.4 because from what I know there are still some issues.
Ask Danny for details.


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to