Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!ux1.cso.uiuc.edu!midway!clout!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.sources.bugs Subject: Re: dmake 3.7 bug: loses child on 3b1 Message-ID: <1991Jun21.041209.18596@chinet.chi.il.us> Date: 21 Jun 91 04:12:09 GMT References: <1362@kosman.UUCP> <1991Jun13.010035.16040x@almira.uucp> <1991Jun20.133732.1559@watdragon.waterloo.edu> Organization: Chinet - Chicago Public Access UNIX Lines: 13 In article <1991Jun20.133732.1559@watdragon.waterloo.edu> dvadura@watdragon.waterloo.edu (Dennis Vadura) writes: >Does anyone have a getcwd for Sys V that doesn't rely on forking and invoking >pwd. I'd like to include the fix in the next patch (which I have been >promissing for a while and keep delaying due to this problem). The machines that have this problem generally do not have symlinks, so there should never be any surprises from getcwd(). Can't you just pick up your starting directory before doing any work and track your own chdir()s relative to that? Les Mikesell les@chinet.chi.il.us