freebsd-dev/lib
Bill Paul 20e4b00a08 Don't bother trying to flock() /var/run/ypbind.lock; this breaks when
/var/run resides on an NFS filesystem (flock() always returns 0 in
this case, so we falsely assume that ypbind is dead and bail out).

Settle instead for better failure checking when using clnttcp_create()
and clnt_call() to interact with ypbind. We still try to flock()
/var/yp/binding/$DOMAINNAME.2, but if this doesn't work, we drop into
the code that retrieves the binding information from ypbind directly.
If that also fails, then we're toast. On NFS filesystems, this means
we'll be ignoring the binding file for no reason and always talking to
ypbind even though we don't have to, but at least things will work.

(I could just replace the flock(/var/run/ypbind.lock) check with
an RPC call to ypbind's NULLPROC procedure, but if the flock() of
the binding file doesn't pan out we're going to try to talk to
ypbind later anyway. *sigh* Is NFS file locking ever going to work?)
1996-03-23 22:48:19 +00:00
..
csu/i386 Changed the dimensions of __CTOR_LIST__ and __DTOR_LIST__ from 0 1996-02-20 04:07:26 +00:00
libc Don't bother trying to flock() /var/run/ypbind.lock; this breaks when 1996-03-23 22:48:19 +00:00
libc_r keep the libc_r makefiles in step with those from libc 1996-03-20 03:05:34 +00:00
libcom_err Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libcompat Correct the xref for msgctl: msgctl(2) -> msgctl(3) 1996-02-12 07:06:23 +00:00
libcrypt Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libcurses Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libdisk Fix bogus MLINKS line. When is the old libdisk going to go away, BTW? 1996-03-18 15:15:42 +00:00
libedit This commit was generated by cvs2svn to compensate for changes in r13122, 1995-12-30 19:02:48 +00:00
libf2c Update to the 1995/09/20 version. Previous version was 1993/12/17. 1995-09-28 20:49:15 +00:00
libF77 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
libfakegnumalloc Some fixes: 1996-02-12 12:40:04 +00:00
libforms recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
libgnumalloc Some fixes: 1996-02-12 12:40:04 +00:00
libI77 Update to the 1995/09/20 version. Previous version was 1993/12/17. 1995-09-28 20:49:15 +00:00
libipx Another round of man page cleanups. 1996-02-12 04:57:03 +00:00
libkse Added a new module "uthread_autoinit.cc". This is a small C++ module. 1996-02-17 02:19:37 +00:00
libkvm From Lite2: proc and file LIST changes 1996-03-11 05:34:46 +00:00
libm Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libmd Don't install mdX.3, it's the template used to build the other pages. 1996-02-09 22:44:44 +00:00
libmytinfo recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
libncurses Another round of man page cleanups. 1996-02-12 04:57:03 +00:00
libpam/modules #include <kerberosIV/des.h> -> #include <des.h> 1996-02-11 09:18:18 +00:00
libpcap Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
libpthread Added a new module "uthread_autoinit.cc". This is a small C++ module. 1996-02-17 02:19:37 +00:00
libresolv BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
librpcsvc If we are going to set the OBJS target, don't add to the old target. This 1995-03-04 17:39:24 +00:00
libscsi Add a couple more man page links and some minor formatting fixes. 1996-02-09 02:49:14 +00:00
libskey recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
libss Install non-source files with the optional flag ${COPY}, not with the flag -c. 1995-08-06 12:41:07 +00:00
libtelnet This commit was generated by cvs2svn to compensate for changes in r13122, 1995-12-30 19:02:48 +00:00
libtermcap Another round of man page cleanups. 1996-02-12 04:57:03 +00:00
libutil If the two recently added sysctl variables exist, use those rather than 1996-02-24 14:37:30 +00:00
libxpg4 Add more stuff moved out from XPG3 1995-11-03 09:03:00 +00:00
liby BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
msun Don't trash %ebp. 1996-02-25 20:29:46 +00:00
ncurses/ncurses Added some missing MLINKS for section 3 man pages. 1996-02-09 00:45:45 +00:00
Makefile Add libdisk. 1996-03-18 18:59:08 +00:00
Makefile.inc From 1.1.5: define default shared library versions. For 2.0, use version 1994-08-04 22:44:00 +00:00