mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
* 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.
This commit is contained in:
@ -51,6 +51,7 @@ _hurd_get_host_config (const char *item, char *buf, size_t buflen)
|
||||
}
|
||||
|
||||
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. */
|
||||
|
Reference in New Issue
Block a user