[ECOS] AW: probably simple problem: ASSERT in Cyg_StdIostream

Manfred Wölfel manfred.woelfel@web.de
Tue Apr 25 05:43:00 GMT 2006


In the case of buffered IO,  the constructor of Cyg_StdioStream 
constructs a Cyg_StdioStreamBuffer object io_buf. The constructor of 
Cyg_StdioStreamBuffer calls Cyg_StdioStreamBuffer::set_buffer that may 
fail for lack of memory. The returned error is silently ignored in the 
constructor of Cyg_StdioStreamBuffer. In this case the constructor of 
Cyg_StdioStream gives up, before the magic value is set.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list