freebsd_amp_hwpstate/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
libF77
libI77
libc
libc_r
libcom_err
libcompat
libcrypt
libcurses
libdisk
libedit
libf2c
libfakegnumalloc
libforms
libgnumalloc
libipx
libkse
libkvm
libm
libmd
libmytinfo
libncurses
libpam/modules
libpcap
libpthread
libresolv
librpcsvc
libscsi
libskey
libss
libtelnet
libtermcap
libutil
libxpg4
liby
msun
ncurses/ncurses
Makefile
Makefile.inc