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
pgpcU8669rpWW.pgp
Description: PGP signature