[Mono-list] BUG in mcs

Paolo Molaro lupus@ximian.com
Fri, 26 Jul 2002 15:51:26 +0200

On 07/25/02 Erik Bagfors wrote:
> > A patch + test case is always the best thing:-)
> Ok, here you go. I don't have NUnit or whatever you are using for
> testing.  I guess I should install that for the future.  So the test is
> a separate application but I'm sure it's like 30 seconds of work for
> someone who knows the testing-framework.
> Warning I haven't tried this code since I was unable to recompile
> corelib.  But it's so easy it should just work :)

Thanks, I committed the patch.

> 		FileStream fs = new FileStream("/etc/passwd", FileMode.Open);

You need 
FileStream fs = new FileStream("/etc/passwd", FileMode.Open, FileAccess.Read);


lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better