Problem with open_memstream

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Mar 25 16:39:00 GMT 2014


On Mar 25 10:19, Adam Burry wrote:
> I have encountered unexpected behaviour with open_memstream(). Below
> is a test case that shows the problem. Shouldn't each invocation of
> open_memstream() create a a stream in the same initial state?
> Shouldn't 'B' be written to the beginning of the buffer?

Pleae give one of the latest snapshots from http://cygwin.com/snapshots/
a try.  There's a bugfix in there which fixes the usage of an
uninitialized variable in open_memstream.  That should fix your problem.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140325/ab685a59/attachment.sig>


More information about the Cygwin mailing list