From 95ca9dd3fcedccb4771f233ae10bb48f029b1743 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 1 Mar 2005 21:33:48 +0000 Subject: * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead of __bos. * socket/bits/socket2.h (recv, recvfrom): Likewise. --- socket/bits/socket2.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'socket') diff --git a/socket/bits/socket2.h b/socket/bits/socket2.h index bb75907..0ccb24c 100644 --- a/socket/bits/socket2.h +++ b/socket/bits/socket2.h @@ -24,8 +24,8 @@ extern ssize_t __recv_chk (int __fd, void *__buf, size_t __n, size_t __buflen, int __flags); #define recv(fd, buf, n, flags) \ - (__bos (buf) != (size_t) -1 \ - ? __recv_chk (fd, buf, n, __bos (buf), flags) \ + (__bos0 (buf) != (size_t) -1 \ + ? __recv_chk (fd, buf, n, __bos0 (buf), flags) \ : recv (fd, buf, n, flags)) extern ssize_t __recvfrom_chk (int __fd, void *__restrict __buf, size_t __n, @@ -33,6 +33,6 @@ extern ssize_t __recvfrom_chk (int __fd, void *__restrict __buf, size_t __n, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len); #define recvfrom(fd, buf, n, flags, addr, addr_len) \ - (__bos (buf) != (size_t) -1 \ - ? __recvfrom_chk (fd, buf, n, __bos (buf), flags, addr, addr_len) \ + (__bos0 (buf) != (size_t) -1 \ + ? __recvfrom_chk (fd, buf, n, __bos0 (buf), flags, addr, addr_len) \ : recvfrom (fd, buf, n, flags, addr, addr_len)) -- cgit v1.1