projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix extremely rare but dangerous race condition in robust mutexes
[musl]
/
src
/
unistd
/
writev.c
diff --git
a/src/unistd/writev.c
b/src/unistd/writev.c
index
a45afeb
..
ef300dd
100644
(file)
--- a/
src/unistd/writev.c
+++ b/
src/unistd/writev.c
@@
-4,9
+4,5
@@
ssize_t writev(int fd, const struct iovec *iov, int count)
{
ssize_t writev(int fd, const struct iovec *iov, int count)
{
- ssize_t r;
- CANCELPT_BEGIN;
- r = syscall(SYS_writev, fd, iov, count);
- CANCELPT_END;
- return r;
+ return syscall_cp(SYS_writev, fd, iov, count);
}
}