mono/mono — pull request #353 by robwilkens (2012-06-26 00:21:48+00:00)
Title: For Bug 2014: map FcntlCommand to local system command for fcntl_lock

In support/fcntl.c - every time fcntl() was called, it would first map the
cmd from mono's version of it to the system header file version of it.
The only time this wasn't happening was in Mono_Posix_Syscall_fcntl_lock()
and now it does it there too. This seems to resolve Bug 2014 on both
64-bit linux and on Mac OS X (64-bit).