strange nfs/yp/filec bug

Lee Ward lee at doc.cs.unm.edu
Sat Mar 11 13:03:30 AEST 1989


In article <8901120433.AA00448 at helios.ee.lbl.gov> leres at helios.ee.lbl.gov (Craig Leres) writes:
>The csh file completion problem Tom Gorodecki mentions was recently
>discussed by Alexander Dupuy. The problem is that the yp code in
>gethostbyname() and friends is broken...

It's worse than that. A better fix is to go into
.../src/lib/libc/yp/yp_bind.c and get rid of the function newborn() and
all calls to it. The routines that worry about inherited file descriptors
take care to make sure that what they think is the connection to the
binder, in fact is. If not, they will rebind. So, newborn() is redundant.
This way you don't have to keep rebinding in the shell as well.

	--Lee (Ward)



More information about the Comp.sys.sun mailing list