[Mono-list] bug in 0.17

Reggie Burnett rykr@bellsouth.net
Sun, 5 Jan 2003 00:19:31 -0600

I can't seem to get a mono build environment going currently ( I have
heard some talk of the make broken on #mono) so I'll post this here.

I noticed on 0.17 that MemoryStream has an issue when position is set
past Length.  From code that I wrote on Windows, I know that the .Net
version reports the length of the memorystream as being the old length
until something is written to the new position.  For example, setting
the length to 0 and position to 5 will still report length as 0.  Then
if you write a single byte to the stream, it reports length as 6.
Looking at the current code for MemoryStream, Mono is silently setting
position to length when position is given past length.

Can someone who can build Mono fix this in CVS for me?