Article View: comp.bugs.sys5
Article #1002Re: libPW.a(curdir.o) [SVR3.0+]
From: Guy Harris
Date: Thu, 30 Mar 1989 19:35
Date: Thu, 30 Mar 1989 19:35
25 lines
1130 bytes
1130 bytes
>For those without source, you could always use a pre-SVR3.0 version with >the old algorithm - it worked fine. Or else: 1) Use the implementation of "getcwd" that comes with S5R3 (or R2, or...) if you're willing to put up with a "fork" and "exec" of "/bin/pwd" per access or 2) grab the source to "getwd" from 4.3BSD and modify it slightly to have the interface of "getcwd" (and not to use "lstat", if you don't have it). This: 1) helps remove dependencies on the undocumented "-lPW" library, and helps move that library towards the Elephant's Graveyard and 2) helps move your code towards being a SVID-compliant application. "-lPW - just say no!"
Technical Details
Message-ID:
<1329@auspex.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!pprg.unm.edu!hc!lll-winken!uunet!auspex!guyReferences:
<5226@cbnews.ATT.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!pprg.unm.edu!hc!lll-winken!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.bugs.sys5 Subject: Re: libPW.a(curdir.o) [SVR3.0+] Message-ID: <1329@auspex.UUCP> Date: 30 Mar 89 19:35:23 GMT References: <5226@cbnews.ATT.COM> Reply-To: guy@auspex.UUCP (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 25