Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uwm.edu!bionet!arisia!quintus!pds From: pds@quintus.UUCP (Peter Schachte) Newsgroups: comp.sys.amiga.tech Subject: Re: CurrentDir Message-ID: <1332@quintus.UUCP> Date: 21 Mar 90 00:25:10 GMT References: <00173.AA00173@starsoft.UUCP> <133060@sun.Eng.Sun.COM> Reply-To: pds@quintus.UUCP (Peter Schachte) Organization: Quintus Computer Systems, Inc. Lines: 10 In article <133060@sun.Eng.Sun.COM> cmcmanis@sun.UUCP (Chuck McManis) writes: > You are forbidden from freeing locks that you didn't create. But this leaves the question: how do you write a program that leaves a different directory current when it exits? Is there a way not to waste the few bytes occupied by the old lock? How would you write CD? -- -Peter Schachte pds@quintus.uucp ...!sun!quintus!pds