]> git.lizzy.rs Git - rust.git/commit
auto merge of #16964 : nodakai/rust/libnative-superfluous-retry, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 4 Sep 2014 09:21:04 +0000 (09:21 +0000)
committerbors <bors@rust-lang.org>
Thu, 4 Sep 2014 09:21:04 +0000 (09:21 +0000)
commit85e2e5a900eb1113b2cea1a4c828c64139692149
tree108c97b7ef758b9161a0daf43e82c0aa4237b0d7
parent5924937a5a6d59baabb4f3d94b1cf5b2bf2136eb
parentd90921a9d87b17df5eeab9e5f18581e8b04a1ba9
auto merge of #16964 : nodakai/rust/libnative-superfluous-retry, r=alexcrichton

Those syscalls listed below don't return `EINTR`, so wrapping them with `retry()` is superfluous.

But I admit the current code is better from the viewpoint of difensive programming, given that the overhead of `retry()` is really cheap...

http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/mkdir.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/unlink.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/rename.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/rmdir.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/readlink.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/symlink.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/link.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstatat.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/utime.html