1
0
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:
Roland McGrath
2008-07-02 19:35:02 +00:00
parent 0a583b5419
commit d5a0160b58
7 changed files with 15 additions and 3 deletions

View File

@ -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. */