diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2018-12-24 10:23:12 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2018-12-27 08:19:30 +0100 |
commit | 3233ccf169f4297fca2528c8a40b1ad526460978 (patch) | |
tree | 5bff17d26695f80b4c3df99c887fdfa70ee4e5bc /docs/src | |
parent | 3585e135c5078b99c0cde766adca56f25d9479a0 (diff) | |
download | libuv-3233ccf169f4297fca2528c8a40b1ad526460978.tar.gz libuv-3233ccf169f4297fca2528c8a40b1ad526460978.zip |
Revert "win,fs: retry if uv_fs_rename fails"
This reverts commit e94c184c7c4a18f3de569c97caeb83f4ff98a4b2.
Concerns were raised about the suitability of this policy and I, for
one, agree with them.
Fixes: https://github.com/libuv/libuv/issues/2098
PR-URL: https://github.com/libuv/libuv/pull/2122
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/fs.rst | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/src/fs.rst b/docs/src/fs.rst index 21f9e27c..af97ec3a 100644 --- a/docs/src/fs.rst +++ b/docs/src/fs.rst @@ -233,15 +233,6 @@ API Equivalent to :man:`rename(2)`. - .. note:: - On Windows if this function fails with ``UV_EBUSY``, ``UV_EPERM`` or - ``UV_EACCES``, it will retry to rename the file up to four times with - 250ms wait between attempts before giving up. If both `path` and - `new_path` are existing directories this function will work only if - target directory is empty. - - .. versionchanged:: 1.24.0 Added retrying and directory move support on Windows. - .. c:function:: int uv_fs_fsync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) Equivalent to :man:`fsync(2)`. |