From: Andrew R. <and...@us...> - 2008-02-01 23:13:58
|
On Fri, Feb 01, 2008 at 10:51:25PM +0100, Werner Smekal wrote: > Hi Andrew and Torquil, > > I made the decision to copy the whole (actually the part of the buffer > which contains information) buffer to a new memory buffer. Reason is, > that there is no obligation to close the stream right after you saved > the file. If the programmer decides to work on with both streams, both > streams write into the same buffer. Since nowadays memory is not that > problem anymore, I decided to copy the buffer. I couldn't test it > actually since on Windows there was no segmentation fault, but at least > the new version still compiles and runs on Windows. Could anybody > (Torquil?) test it, if the changes solve the problems? > > Regards, > Werner Werner, Your fix solves the problem for me on Linux. Thanks very much. Andrew |