Rodrigo kindly helped me analyzing bug 383909<https://bugzilla.novell.com/show_bug.cgi?id=383909>. I got to the following status:
*Using the .net framework*: if you create a DirectoryInfo object with a directory name larger than 248 chars, a PathTooLongException is thrown (even of no actual directory gets created). *Using mono*: no PathTooLongException is thrown. However, since no actual directory is created, there is still no syscall errors to catch. That means that, at the C level, a static validation should be added for windows only. I think that would be the correct way to solve it. Should I implement it this way? Is it possible to propagate an exception from the C level into a .NET exception?
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list