diff options
author | Joran Dirk Greef <joran@ronomon.com> | 2017-11-01 13:18:39 +0200 |
---|---|---|
committer | Bartosz Sosnowski <bartosz@janeasystems.com> | 2017-11-16 15:14:52 +0100 |
commit | 1c4de1916e36f8462c48a36ce7c88b247465f3cf (patch) | |
tree | a13521366482932dd93e43118fd15025ef5b32db /docs/src | |
parent | 7ef23d9e85b42abd83594575ba95c8499e993980 (diff) | |
download | libuv-1c4de1916e36f8462c48a36ce7c88b247465f3cf.tar.gz libuv-1c4de1916e36f8462c48a36ce7c88b247465f3cf.zip |
win: map UV_FS_O_EXLOCK to a share mode of 0
This is necessary to enable writing past the MBR of a raw block device.
Fixes: https://github.com/libuv/libuv/issues/1605
PR-URL: https://github.com/libuv/libuv/pull/1613
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/fs.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/src/fs.rst b/docs/src/fs.rst index f46c4e76..16d5e05c 100644 --- a/docs/src/fs.rst +++ b/docs/src/fs.rst @@ -409,7 +409,9 @@ File open constants Atomically obtain an exclusive lock. .. note:: - `UV_FS_O_EXLOCK` is only supported on macOS. + `UV_FS_O_EXLOCK` is only supported on macOS and Windows. + + .. versionchanged:: 1.17.0 support is added for Windows. .. c:macro:: UV_FS_O_NOATIME |