freebsd-dev/lib
iedowse 48c7c65531 Fix some very broken code in __nc_error() that implements per-thread
`nc_error' variables. Move the nc_lock mutex from mt_misc.c to a
static variable within this function, since it is only used here.

Add a new getnetconfigent() error code `NC_NOTFOUND' to report the
case where the specified netid was not found. Set nc_error in all
error cases in getnetconfigent() so that the error messages returned
by nc_(s)perror are always meaningful.

Add a terminating \n to the output of nc_perror() to match both
our manpage and other implementations of this function.

Reviewed by:	deischen, alfred, Martin Blapp <mb@imp.ch>
2001-04-03 23:48:28 +00:00
..
compat Add libssl and libcrypto compat4x libraries since the major number 2001-03-21 08:49:02 +00:00
csu Add rcsid's. 2001-01-04 10:37:25 +00:00
libalias MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libatm Replace beforeinstall target with new variables used by .mk system. 2000-01-14 07:57:47 +00:00
libbind Build more components to get named to build. 1999-11-30 04:40:54 +00:00
libc Fix some very broken code in __nc_error() that implements per-thread 2001-04-03 23:48:28 +00:00
libc_r Add a leading underscore to the pthread_main_np function name, and 2001-04-03 22:25:39 +00:00
libcalendar MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libcam MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libcom_err MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libcompat MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libcrypt MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libdevstat MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libdisk Add spaces around operators. 2001-04-01 12:18:20 +00:00
libedit MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libfetch MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libform MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libftpio MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libgnumalloc $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libio Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
libipsec MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libipx MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libisc MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libkse Add a leading underscore to the pthread_main_np function name, and 2001-04-03 22:25:39 +00:00
libkvm MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libm MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libmd MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libmenu MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libncp Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
libncurses MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libnetgraph MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libopie MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libpam MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libpanel MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libpcap Fixed world breakage in previous commit (config.h was inaccessible 2001-04-03 10:08:51 +00:00
libposix1e Correct function name: acl_clear_perm -> acl_clear_perms 2001-03-29 00:48:54 +00:00
libpthread Add a leading underscore to the pthread_main_np function name, and 2001-04-03 22:25:39 +00:00
libradius MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libresolv
librpcsvc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
libsbuf Rewrite of the CAM error recovery code. 2001-03-27 05:45:52 +00:00
libskey MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libsmdb Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
libsmutil Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
libss Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
libstand MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libtacplus MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libtelnet Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness. 2001-03-28 12:08:22 +00:00
libusb MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libusbhid MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libutil MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libvgl MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libwrap MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libxpg4 Bump major to preserve 3.x binaries compatibility 2000-06-13 00:41:38 +00:00
liby $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libz MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
msun MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
ncurses MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
Makefile Rewrite of the CAM error recovery code. 2001-03-27 05:45:52 +00:00
Makefile.inc