🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11458

Re: strange nfs/yp/filec bug

#11458
From: Lee Ward
Date: Sat, 11 Mar 1989 03:03
13 lines
1289 bytes
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)
Technical Details
Message-ID: <2293@unmvax.unm.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
References: <8901120433.AA00448@helios.ee.lbl.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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