🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #693

Re: dmake 3.7 bug: loses child on 3b1

#693
From: Piercarlo Grandi
Date: Fri, 14 Jun 1991 19:07
17 lines
1401 bytes
On 13 Jun 91 01:00:35 GMT, haug@almira.uucp (Brian R. Haug) said:

haug> [ ... dmake calls getcwd(3) while it has children outstanding;
haug> since in many systems getcwd(3) just forks pwd(1), this makes
haug> for problems ... ]

haug> As best I can tell, this can not be easily fixed in any System V
haug> release (until V.4 when we get waitpid) unless you re-write the
haug> getcwd function, or the dmake function which calls getcwd.

There is fairly clever freeware implementation of getcwd(3) going
around, one version of which has been done by Doug Gwyn. This does not
call pwd(1), and solves the problem.
--
Piercarlo Grandi                   | ARPA: pcg%uk.ac.aber@nsfnet-relay.ac.uk
Dept of CS, UCW Aberystwyth        | UUCP: ...!mcsun!ukc!aber-cs!pcg
Penglais, Aberystwyth SY23 3BZ, UK | INET: pcg@aber.ac.uk
Technical Details
Message-ID: <PCG.91Jun14200753@aberdb.aber.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!Firewall!uunet!mcsun!ukc!dcl-cs!aber-cs!athene!pcg
References: <1362@kosman.UUCP> <1991Jun13.010035.16040x@almira.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!Firewall!uunet!mcsun!ukc!dcl-cs!aber-cs!athene!pcg
From: pcg@aber.ac.uk (Piercarlo Grandi)
Newsgroups: comp.sources.bugs
Subject: Re: dmake 3.7 bug: loses child on 3b1
Message-ID: <PCG.91Jun14200753@aberdb.aber.ac.uk>
Date: 14 Jun 91 19:07:53 GMT
References: <1362@kosman.UUCP> <1991Jun13.010035.16040x@almira.uucp>
Sender: pcg@aber-cs.UUCP
Organization: Coleg Prifysgol Cymru
Lines: 17
In-reply-to: haug@almira.uucp's message of 13 Jun 91 01:00:35 GMT