Remove flock usage from InternalCreateFile in PAL (#16752)
authorJan Vorlicek <janvorli@microsoft.com>
Mon, 5 Mar 2018 15:15:24 +0000 (16:15 +0100)
committerJan Kotas <jkotas@microsoft.com>
Mon, 5 Mar 2018 15:15:24 +0000 (07:15 -0800)
commit075e8d684bae0b8c9de310ccae44a7be83181bf5
treefec47ce0eabd85b12f6dc153517b1568ee724844
parent82ecf8f78d2c036a7a139cee6ee5c671ac6815f7
Remove flock usage from InternalCreateFile in PAL (#16752)

This flock is causing issues on filesystems that don't support locking.
An issue with loading managed assemblies from such a filesystem due to
this issue was recently hit by someone.
Since the locking in the PAL is not really needed and due to the
advisory nature of the flock doesn't guarantee anything, this change is
removing the flock from that function.
src/pal/src/file/file.cpp