diff options
author | Roland McGrath <roland@gnu.org> | 2005-03-01 21:33:48 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-03-01 21:33:48 +0000 |
commit | 95ca9dd3fcedccb4771f233ae10bb48f029b1743 (patch) | |
tree | b4e1d6daaf9836ad1b72ffe7a5adabac148ed91d /socket/bits | |
parent | 25e3dd28e4c3d39676fe65813a336d82552ef304 (diff) | |
download | glibc-95ca9dd3fcedccb4771f233ae10bb48f029b1743.tar.gz glibc-95ca9dd3fcedccb4771f233ae10bb48f029b1743.tar.xz glibc-95ca9dd3fcedccb4771f233ae10bb48f029b1743.zip |
* posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead cvs/fedora-glibc-20050302T1820
of __bos. * socket/bits/socket2.h (recv, recvfrom): Likewise.
Diffstat (limited to 'socket/bits')
-rw-r--r-- | socket/bits/socket2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/socket/bits/socket2.h b/socket/bits/socket2.h index bb75907744..0ccb24ca31 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)) |