From 0ea5db4f1f55e55942f6afd0e4e69ceb2163ed25 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 30 Jun 1999 17:16:08 +0000 Subject: Update. 1999-06-28 Andreas Jaeger * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result correctly. 1999-06-25 Andreas Jaeger * manual/arith.texi (System V Number Conversion): Fix the description which confused pointer and value to pointer. Reported by Andries.Brouwer@cwi.nl. 1999-06-28 Andreas Jaeger * pwd/getpw.c (__getpw): Check for NULL result pointer. 1999-06-29 Andreas Jaeger * manual/users.texi (Lookup User): Document POSIX return semantics for getpwuid_r and getgrgid_r. * manual/socket.texi (Host Names): Document that the result pointer is null in case of error or host not found and fix a typo. Give a small example. --- inet/rcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inet/rcmd.c') diff --git a/inet/rcmd.c b/inet/rcmd.c index d8235daf70..923f21fe40 100644 --- a/inet/rcmd.c +++ b/inet/rcmd.c @@ -270,7 +270,7 @@ ruserok(rhost, superuser, ruser, luser) buffer = __alloca (buflen); while (__gethostbyname_r (rhost, &hostbuf, buffer, buflen, &hp, &herr) - < 0) + != 0) if (herr != NETDB_INTERNAL || errno != ERANGE) return -1; else -- cgit v1.2.3