[Mono-devel-list] [PATCH] BufferedStream.Write()

Francisco Figueiredo Jr. fxjrlists at yahoo.com.br
Wed Sep 24 22:10:25 EDT 2003



Hi all.
I think I found a little bug in the BufferedStream.Write() method.

It was checking for the Read permission while I think it should check 
for the *Write* permission.

I didn't do a testcase, I tested with my own program which was using the 
Write method. But I can do one if necessary. I'm looking right now in 
the BufferedStreamTest NUnit file to add a test case.


The patch is attached. It is simple, just change the check.


-- 
Regards,

Francisco Figueiredo Jr.

------
"My grandfather once told me that there are two
kinds of people: those
who work and those who take the credit. He told me
to try to be in the
first group; there was less competition there."
- Indira Gandhi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: MonoBufferedStreamPatch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030924/e67cb3ad/attachment.pl 


More information about the Mono-devel-list mailing list