projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
verify that ttyname refers to the same file as the fd
[musl]
/
src
/
unistd
/
close.c
diff --git
a/src/unistd/close.c
b/src/unistd/close.c
index
2f1eabd
..
fa3c6ca
100644
(file)
--- a/
src/unistd/close.c
+++ b/
src/unistd/close.c
@@
-14,6
+14,6
@@
int close(int fd)
{
fd = __aio_close(fd);
int r = __syscall_cp(SYS_close, fd);
- if (r == -EINTR) r =
-EINPROGRESS
;
+ if (r == -EINTR) r =
0
;
return __syscall_ret(r);
}