diff options
author | Roland McGrath <roland@gnu.org> | 2008-07-02 19:35:02 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2008-07-02 19:35:02 +0000 |
commit | d5a0160b583dbd08d77c999c2acc4b72c2a6d9db (patch) | |
tree | aa8b2bb2a11412921cf6f6635ef8e57826097269 /sysdeps/mach/hurd/dl-sysdep.c | |
parent | 0a583b5419a785591ba9607f32e4bc0d18c838e2 (diff) | |
download | glibc-d5a0160b583dbd08d77c999c2acc4b72c2a6d9db.tar.gz glibc-d5a0160b583dbd08d77c999c2acc4b72c2a6d9db.tar.xz glibc-d5a0160b583dbd08d77c999c2acc4b72c2a6d9db.zip |
* sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. cvs/fedora-glibc-20080703T1203
* sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. * hurd/fd-read.c (_hurd_fd_read): Initialize NREAD. * hurd/get-host.c (_hurd_get_host_config): Likewise. * sysdeps/mach/hurd/dl-sysdep.c (__libc_read): Likewise.
Diffstat (limited to 'sysdeps/mach/hurd/dl-sysdep.c')
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 668aaaf8b5..2440682903 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -367,6 +367,7 @@ __libc_read (int fd, void *buf, size_t nbytes) mach_msg_type_number_t nread; data = buf; + nread = nbytes; err = __io_read ((mach_port_t) fd, &data, &nread, -1, nbytes); if (err) return __hurd_fail (err); |