mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Remove CHECK_N and bp-checks.h.
This commit is contained in:
@ -23,7 +23,6 @@
|
||||
|
||||
#include <sysdep-cancel.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <bp-checks.h>
|
||||
#include <kernel-features.h>
|
||||
|
||||
#ifndef __ASSUME_COMPLETE_READV_WRITEV
|
||||
@ -47,12 +46,12 @@ __libc_writev (fd, vector, count)
|
||||
ssize_t result;
|
||||
|
||||
if (SINGLE_THREAD_P)
|
||||
result = INLINE_SYSCALL (writev, 3, fd, CHECK_N (vector, count), count);
|
||||
result = INLINE_SYSCALL (writev, 3, fd, vector, count);
|
||||
else
|
||||
{
|
||||
int oldtype = LIBC_CANCEL_ASYNC ();
|
||||
|
||||
result = INLINE_SYSCALL (writev, 3, fd, CHECK_N (vector, count), count);
|
||||
result = INLINE_SYSCALL (writev, 3, fd, vector, count);
|
||||
|
||||
LIBC_CANCEL_RESET (oldtype);
|
||||
}
|
||||
|
Reference in New Issue
Block a user