[Mono-list] bug in 0.17

Gonzalo Paniagua Javier gonzalo@ximian.com
05 Jan 2003 12:53:54 +0100


El dom, 05-01-2003 a las 07:19, Reggie Burnett escribió:
> 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?

It would be better if you report bugs using bugzilla
(http://bugzilla.ximian.com) providing a simple test case. That way your
report won't be lost in the noise of the mailing list ;-).

Thanks!

-Gonzalo