diff options
author | Spencer Low <CompareAndSwap@gmail.com> | 2015-04-22 18:06:51 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-05-13 17:47:08 -0700 |
commit | 2a44cfbd7d64596795836e9ae6f6c642869d6d78 (patch) | |
tree | 663db4753a75f5de7fe2fb1f518d48682bd97167 /libc/arch-x86_64 | |
parent | 4bac6ea463a8f20793f5c1425965729ded1419fe (diff) | |
download | bionic-2a44cfbd7d64596795836e9ae6f6c642869d6d78.zip bionic-2a44cfbd7d64596795836e9ae6f6c642869d6d78.tar.gz bionic-2a44cfbd7d64596795836e9ae6f6c642869d6d78.tar.bz2 |
ScopedFd: Don't use TEMP_FAILURE_RETRY() with close()
According to the comments in Posix_close(), TEMP_FAILURE_RETRY() should
not be used with close():
https://android.googlesource.com/platform/libcore/+/462bdac45c10f43d88d8f07f6994e272a27c14a2%5E%21/#F12
Kill ScopedFd by simplifying the single caller.
Bug: http://b/20501816
Change-Id: I248c40b8c2fc95f1938a6edfc245c81847fc44af
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
(cherry picked from commit 0346ad7a4fb6e253317577ee8b9cc79d958f4349)
Diffstat (limited to 'libc/arch-x86_64')
0 files changed, 0 insertions, 0 deletions