Date: Fri, 13 Aug 2010 06:39:54 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/net gethostbydns.c gethostbyht.c gethostbynis.c gethostnamadr.c getnetbydns.c getnetbyht.c getnetbynis.c getnetnamadr.c getproto.c getprotoent.c getprotoname.c Message-ID: <201008130640.o7D6eCBZ087652@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2010-08-13 06:39:54 UTC FreeBSD src repository Modified files: lib/libc/net gethostbydns.c gethostbyht.c gethostbynis.c gethostnamadr.c getnetbydns.c getnetbyht.c getnetbynis.c getnetnamadr.c getproto.c getprotoent.c getprotoname.c Log: SVN rev 211276 on 2010-08-13 06:39:54Z by ume - When there is no room for returning the result, nss backend have to return ERANGE and terminate with NS_RETURN. - When gethostbyname_r(3) and the friends end with an error, set errno to the value nss backend returns, and return errno value. PR: kern/131623 MFC after: 2 weeks Revision Changes Path 1.60 +8 -3 src/lib/libc/net/gethostbydns.c 1.28 +12 -4 src/lib/libc/net/gethostbyht.c 1.29 +6 -2 src/lib/libc/net/gethostbynis.c 1.34 +17 -5 src/lib/libc/net/gethostnamadr.c 1.35 +6 -2 src/lib/libc/net/getnetbydns.c 1.20 +12 -4 src/lib/libc/net/getnetbyht.c 1.22 +6 -2 src/lib/libc/net/getnetbynis.c 1.24 +12 -4 src/lib/libc/net/getnetnamadr.c 1.8 +10 -8 src/lib/libc/net/getproto.c 1.10 +10 -7 src/lib/libc/net/getprotoent.c 1.8 +10 -8 src/lib/libc/net/getprotoname.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008130640.o7D6eCBZ087652>