Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: lee@doc.cs.unm.edu (Lee Ward) Newsgroups: comp.sys.sun Subject: Re: strange nfs/yp/filec bug Keywords: Software Message-ID: <2293@unmvax.unm.edu> Date: 11 Mar 89 03:03:30 GMT References: <8901120433.AA00448@helios.ee.lbl.gov> Sender: usenet@rice.edu Organization: University of New Mexico at Albuquerque Lines: 13 Approved: Sun-Spots@rice.edu Original-Date: 28 Feb 89 22:17:30 GMT X-Sun-Spots-Digest: Volume 7, Issue 193, message 5 of 18 X-Issue-Reference: v7n170 In article <8901120433.AA00448@helios.ee.lbl.gov> leres@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)