[Mono-bugs] [Bug 55359][Maj] Changed - File.Open(path,FileMode.Truncate,FileAccess.Write,FileShare.Inheritable) does not throw PathTooLongException
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 9 Mar 2004 08:48:58 -0500 (EST)
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 nrathna@novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=55359
--- shadow/55359 2004-03-09 08:36:30.000000000 -0500
+++ shadow/55359.tmp.32097 2004-03-09 08:48:58.000000000 -0500
@@ -2,13 +2,13 @@
Product: Mono: Class Libraries
Version: unspecified
OS: Red Hat 8.0
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Major
Component: CORLIB
AssignedTo: mono-bugs@ximian.com
ReportedBy: nrathna@novell.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -80,6 +80,23 @@
in (unmanaged) /usr/local/lib/libmono.so.0 [0x400848d4]
in [0x00033]
(at /home/rathna/monoCVS/mcs/class/corlib/System.Reflection/MonoMethod.cs:9
8) System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object
[],System.Globalization.CultureInfo)
+
+------- Additional Comments From nrathna@novell.com 2004-03-09 08:48 -------
+.Net also returns the same error.
+below is the stack trace for the same.
+
+
+MonoTests.System.IO.PathTooLongExceptionTest.FileTruncateFAWriteFSInhe
+ritable : Expected: PathTooLongException but was
+ArgumentOutOfRangeException
+ at System.IO.FileStream..ctor(String path, FileMode mode,
+FileAccess access, FileShare share, Int32 bufferSize, Boolean
+useAsync, String msgPath, Boolean bFromProxy)
+ at System.IO.FileStream..ctor(String path, FileMode mode,
+FileAccess access, FileShare share)
+ at
+MonoTests.System.IO.PathTooLongExceptionTest.FileTruncateFAWriteFSInhe
+ritable()