[Mono-bugs] [Bug 74190][Wis] Changed - Console.WriteLine gives UnauthorizedAccessException

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 8 Apr 2005 18:31:47 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74190

--- shadow/74190	2005-04-07 02:06:18.000000000 -0400
+++ shadow/74190.tmp.5635	2005-04-08 18:31:47.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 74190
 Product: Mono: Tools
 Version: 1.0
 OS: unknown
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: XSP
 AssignedTo: gonzalo@ximian.com                            
 ReportedBy: tauberer@for.net               
@@ -99,6 +99,16 @@
 
 ------- Additional Comments From gonzalo@ximian.com  2005-04-07 02:06 -------
 ---x--s--T  1 gonzalo gonzalo     0 2005-04-07 00:51 test
 
 Those are the permissions on the file created... So we can't write.
 Any more info?
+
+------- Additional Comments From miguel@ximian.com  2005-04-08 18:31 -------
+I found the problem.
+
+With Mono.Posix I was doing the mapping of the constants, with the new
+implementation in Mono.Unix the mapping of the constants is no longer
+there, which lead to this error.
+
+Quick fix: replace `using Mono.Unix' with `using Mono.Posix', am
+fixing this now.