[Mono-bugs] [Bug 82545][Nor] Changed - [Win32] PageFile does not exist for Mono

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Aug 25 09:24:10 EDT 2007


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 robertj at gmx.net.

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

--- shadow/82545	2007-08-23 07:27:34.000000000 -0400
+++ shadow/82545.tmp.11957	2007-08-25 09:24:10.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 82545
 Product: Mono: Runtime
 Version: 1.2
-OS: 
+OS: unknown
 OS Details: Windows XP SP2
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: io-layer
 AssignedTo: dick at ximian.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -63,6 +63,16 @@
 file "c:\pa
 gefile.sys".
 File name: "c:\pagefile.sys"
   at System.IO.FileInfo.get_Length () [0x00000]
   at (wrapper remoting-invoke-with-check) System.IO.FileInfo:get_Length ()
   at Program.Main () [0x00000]
+
+------- Additional Comments From robertj at gmx.net  2007-08-25 09:24 -------
+This is a known "issue" on NT: GetFileAttributesEx() (used by
+MonoIO.GetFileStat()) demands read access for the queried
+object.
+
+A reliable way to do that is FindFirstFile(), which returns
+the same infos like GetFileAttributesEx(), but never fails,
+if the file exists.
+


More information about the mono-bugs mailing list