On Jan 8, 2013, at 3:52 PM, Terry Watts <terry.terrywatts....@gmail.com> wrote:
> I have looked at the exception under the debugger, that's why "E" is in the 
> catch{ Exception E}. The exception thrown is a "lock violation"; not a "Not 
> Supported" exception.

The exception thrown is "lock violation" because that's what it was mapped to 
-- io-layer's LockFile() was translating ~every fcntl(2) error into 
ERROR_LOCK_VIOLATION, even if the actual error was that the parameters were 
invalid (as was the case here). This is fixed in:

        
https://github.com/mono/mono/commit/6c5d76dd4c953fc26a82e3cce44baa6a06aeaa21

Note that Mono for Android doesn't currently have this patch.

 - Jon

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to