summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-15 16:20:07 -0700
committerElliott Hughes <enh@google.com>2015-05-15 16:24:33 -0700
commitfa7ba6227f918dadca787a78ed3269bf86fd234d (patch)
treeb0e30496cba8873bfad4d4380fbbba5fb40897da /libc
parentff407803dbbee26ab19c02aaece0e75c019534c4 (diff)
downloadbionic-fa7ba6227f918dadca787a78ed3269bf86fd234d.zip
bionic-fa7ba6227f918dadca787a78ed3269bf86fd234d.tar.gz
bionic-fa7ba6227f918dadca787a78ed3269bf86fd234d.tar.bz2
Don't use TEMP_FAILURE_RETRY on close in bionic.
Bug: http://b/20501816 Change-Id: Id64b5109cc2b165fa0351b6edbb865a5e5058008 (cherry picked from commit 4e8ef698d0d76be3f8d75de32701e6e6327c1fbd)
Diffstat (limited to 'libc')
-rw-r--r--libc/stdio/stdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/stdio.c b/libc/stdio/stdio.c
index 13b9887..fc2115e 100644
--- a/libc/stdio/stdio.c
+++ b/libc/stdio/stdio.c
@@ -86,5 +86,5 @@ __sseek(void *cookie, fpos_t offset, int whence)
int
__sclose(void *cookie)
{
- return TEMP_FAILURE_RETRY(close(((FILE *)cookie)->_file));
+ return close(((FILE *)cookie)->_file);
}