+1999-09-18 Ulrich Drepper <drepper@cygnus.com>
+
+ * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
+ returned errno value in some cases.
+
1999-09-17 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
* sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
'unsigned char ftype[8]', and 'unsigned int init_flag' to
- struct user_fp. Tnese were added in version 2.2.12 of the
+ struct user_fp. These were added in version 2.2.12 of the
ARM Linux kernel.
* sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
* sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1996.
int outvallen;
if (yp_get_default_domain (&domain) != YPERR_SUCCESS)
- return NSS_STATUS_NOTFOUND;
+ {
+ *errnop = ENOENT;
+ return NSS_STATUS_NOTFOUND;
+ }
if (yp_match (domain, "group.byname", name, strlen (name),
&outval, &outvallen) != YPERR_SUCCESS)
if (yp_get_default_domain (&domain) != YPERR_SUCCESS)
{
- *errnop = errno;
- return NSS_STATUS_TRYAGAIN;
+ *errnop = ENOENT;
+ return NSS_STATUS_NOTFOUND;
}
snprintf (buf, sizeof (buf), "%d", gid);
if (yp_match (domain, "group.bygid", buf, strlen (buf),
&outval, &outvallen) != YPERR_SUCCESS)
{
- *errnop = errno;
- return NSS_STATUS_TRYAGAIN;
+ *errnop = ENOENT;
+ return NSS_STATUS_NOTFOUND;
}
if (buflen < ((size_t) outvallen + 1))