[plt-scheme] memory error

From: Hans Oesterholt (hdnews at gawab.com)
Date: Thu Sep 15 14:19:31 EDT 2005

Great! However, why doesn't write give this problem?
Note also:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/writefile.asp

 It states somewhere:

   "Named pipe write operations across a network are limited to 65,535 
bytes."

Best whishes,

Hans



Matthew Flatt schreef:

>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
>
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>  
>



Posted on the users mailing list.