[Mono-bugs] [Bug 374377] IsolatedStorageFile.CreateDirectory() can print its local path on error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 27 10:12:45 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=374377

User atsushi at ximian.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=374377#c1


Atsushi Enomoto <atsushi at ximian.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|gnorton at novell.com                              |
         OS/Version|Mac OS X 10.5                                   |openSUSE 10.3
            Summary|[OSX] IsolatedStorageFile.CreateDirectory() can |IsolatedStorageFile.CreateDirectory() can print
                   |print its local path on error                   |its local path on error




--- Comment #1 from Atsushi Enomoto <atsushi at ximian.com>  2008-03-27 08:12:45 MST ---
Turned out that the repro code in the original report was wrong and the issue
does not happen. Instead, the example below shows the issue, and it is not
limited to OSX anymore:

using System;
using System.IO;
using System.IO.IsolatedStorage;

public class Test
{
        public static void Main ()
        {
                var a = IsolatedStorageFile.GetUserStoreForDomain ();
                var b = new IsolatedStorageFileStream ("bug374377",
FileMode.OpenOrCreate, a);
                b.Close ();
                a.CreateDirectory ("bug374377");
        }
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list