* 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.
* sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise.
* sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise.
+2008-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS.
+ * 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.
+
2008-06-27 Ulrich Drepper <drepper@redhat.com>
[BZ #6657]
}
data = buf;
+ nread = *nbytes;
if (err = HURD_FD_PORT_USE (fd, _hurd_ctty_input (port, ctty, readfd)))
return err;
}
data = buf;
+ nread = buflen;
err = __io_read (config, &data, &nread, -1, buflen);
if (! err)
/* Check if there is more in the file we didn't read. */
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);
char *bufp = buf;
mach_msg_type_number_t nread = n;
mach_port_t *ports;
- mach_msg_type_number_t nports;
+ mach_msg_type_number_t nports = 0;
char *cdata = NULL;
mach_msg_type_number_t clen = 0;
char *bufp = buf;
mach_msg_type_number_t nread = n;
mach_port_t *ports;
- mach_msg_type_number_t nports;
+ mach_msg_type_number_t nports = 0;
char *cdata = NULL;
mach_msg_type_number_t clen = 0;
struct sockaddr *addr = addrarg.__sockaddr__;
char *data = NULL;
mach_msg_type_number_t len = 0;
mach_port_t *ports;
- mach_msg_type_number_t nports;
+ mach_msg_type_number_t nports = 0;
char *cdata = NULL;
mach_msg_type_number_t clen = 0;
size_t amount;