Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, OFD locking was broken on 32-bit, because it would somehow end up using the 64-bit fcntl() function, but pass it 32-bit off_t values in struct flock. To fix this, tell libc to use always use 64-bit file offsets. This is the same fix that was applied for a similar issue in GHC[1]. [1]: https://gitlab.haskell.org/ghc/ghc/-/commit/9853fc5e3556e733b56976b0a2fce9e82130a9ef Fixes: haskellari#15
- Loading branch information