projects
/
kopensolaris-gnu
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to fedora-glibc-20080703T1203
[kopensolaris-gnu/glibc.git]
/
hurd
/
get-host.c
diff --git
a/hurd/get-host.c
b/hurd/get-host.c
index
bebad89
..
3fe0b3e
100644
(file)
--- a/
hurd/get-host.c
+++ b/
hurd/get-host.c
@@
-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. */