[plt-scheme] memory error

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Sep 15 11:50:51 EDT 2005

At Wed, 14 Sep 2005 23:37:26 +0200, Hans Oesterholt wrote:
> I'm writing the output (about 65K) to stdout.

This is now fixed in the SVN repository trunk.

Apparently, when WriteFile() is given more bytes to write than the
device can handle, it doesn't write some of them and report partial
success, but instead reports an error. MzScheme now catches the error
and tries writing only half as much at a time, etc.

Matthew



Posted on the users mailing list.