summaryrefslogtreecommitdiff
path: root/nis
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-13 11:05:07 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-13 11:05:07 +0000
commit70b0abbaa2c30fb181d254f00b37cde027140878 (patch)
tree53bfb1977ba11eda0b64e027c32eb876a909ee8c /nis
parent9fc19e48b594911f45a3df47218e47c42238ceb8 (diff)
downloadglibc-70b0abbaa2c30fb181d254f00b37cde027140878.tar.gz
Update.
1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t. (svcudp_recv): Likewise. 1998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * nis/nss-nisplus.h: Change some mappings of NIS+ errors to NSS error codes to avoid endless loops. 1998-12-13 Ulrich Drepper <drepper@cygnus.com> * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add aliases for ISO-8859-14.
Diffstat (limited to 'nis')
-rw-r--r--nis/nss-nisplus.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nis/nss-nisplus.h b/nis/nss-nisplus.h
index ff497f1ca4..f2247c7eb4 100644
--- a/nis/nss-nisplus.h
+++ b/nis/nss-nisplus.h
@@ -31,12 +31,12 @@ static enum nss_status niserr2nss_tab[] =
[NIS_SUCCESS] = NSS_STATUS_SUCCESS,
[NIS_S_SUCCESS] = NSS_STATUS_SUCCESS,
[NIS_NOTFOUND] = NSS_STATUS_NOTFOUND,
- [NIS_S_NOTFOUND] = NSS_STATUS_TRYAGAIN,
+ [NIS_S_NOTFOUND] = NSS_STATUS_NOTFOUND,
[NIS_CACHEEXPIRED] = NSS_STATUS_UNAVAIL,
- [NIS_NAMEUNREACHABLE] = NSS_STATUS_TRYAGAIN,
+ [NIS_NAMEUNREACHABLE] = NSS_STATUS_UNAVAIL,
[NIS_UNKNOWNOBJ] = NSS_STATUS_NOTFOUND,
[NIS_TRYAGAIN] = NSS_STATUS_TRYAGAIN,
- [NIS_SYSTEMERROR] = NSS_STATUS_UNAVAIL, /* Maybe TRYAGAIN ? */
+ [NIS_SYSTEMERROR] = NSS_STATUS_UNAVAIL,
[NIS_CHAINBROKEN] = NSS_STATUS_UNAVAIL,
[NIS_PERMISSION] = NSS_STATUS_UNAVAIL,
[NIS_NOTOWNER] = NSS_STATUS_UNAVAIL,
@@ -74,7 +74,7 @@ static enum nss_status niserr2nss_tab[] =
[NIS_SRVAUTH] = NSS_STATUS_UNAVAIL,
[NIS_CLNTAUTH] = NSS_STATUS_UNAVAIL,
[NIS_NOFILESPACE] = NSS_STATUS_UNAVAIL,
- [NIS_NOPROC] = NSS_STATUS_TRYAGAIN,
+ [NIS_NOPROC] = NSS_STATUS_UNAVAIL,
[NIS_DUMPLATER] = NSS_STATUS_UNAVAIL
};
#define NISERR_COUNT (sizeof (niserr2nss_tab) / sizeof (niserr2nss_tab[0]))