[Mono-bugs] [Bug 573976] New: IOMAP doesn't like backslashes in directory names

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 26 11:56:35 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=573976

http://bugzilla.novell.com/show_bug.cgi?id=573976#c0


           Summary: IOMAP doesn't like backslashes in directory names
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: io-layer
        AssignedTo: lupus at novell.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=338895)
 --> (http://bugzilla.novell.com/attachment.cgi?id=338895)
Test Case

- Save test case to directory
- In that directory: mkdir "abc\def"
- Compile test case
- MONO_IOMAP=all test.exe

crashes with:

Unhandled Exception: System.IO.DirectoryNotFoundException: Directory
'/home/jpobst/Desktop/def' not found.
  at System.IO.Directory.ValidateDirectoryListing (System.String path,
System.String searchPattern, System.Boolean& stop) [0x00000] in <filename
unknown>:0 
  at System.IO.Directory.GetFileSystemEntries (System.String path,
System.String searchPattern, FileAttributes mask, FileAttributes attrs)
[0x00000] in <filename unknown>:0 
  at System.IO.Directory.GetFiles (System.String path, System.String
searchPattern) [0x00000] in <filename unknown>:0 
  at System.IO.Directory.GetFilesRecurse (System.String path, System.String
searchPattern, System.Collections.ArrayList all) [0x00000] in <filename
unknown>:0 
  at System.IO.Directory.GetFilesRecurse (System.String path, System.String
searchPattern, System.Collections.ArrayList all) [0x00000] in <filename
unknown>:0 
  at System.IO.Directory.GetFiles (System.String path, System.String
searchPattern, SearchOption searchOption) [0x00000] in <filename unknown>:0 
  at MyClass.Main () [0x00000] in <filename unknown>:0

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


More information about the mono-bugs mailing list