Path: utzoo!mnetor!uunet!cbmvax!andy From: andy@cbmvax.UUCP (Andy Finkel) Newsgroups: comp.sys.amiga.tech Subject: Re: Changing Directories Message-ID: <3640@cbmvax.UUCP> Date: 17 Apr 88 21:37:28 GMT References: <8673@agate.BERKELEY.EDU> <1838@sugar.UUCP> Reply-To: andy@cbmvax.UUCP (Andy Finkel) Organization: Commodore Technology, West Chester, PA Lines: 20 In article <1838@sugar.UUCP> peter@sugar.UUCP (Peter da Silva) writes: >It's a pity that the REST of the system isn't set up to reflect this and >treat 0 as df0: or a no-op. It's a bit of a shocker to guru because you've >Unlock()ed CurrentDir(). The general rule to follow here is don't be unlocking things that you haven't locked. If you lock currentdir you can unlock the lock you get back. You can't unlock that was there previously, as you don't have a lock on it. andy -- andy finkel {ihnp4|seismo|allegra}!cbmvax!andy Commodore-Amiga, Inc. "C combines the power of assembly language with the flexibility of assembly language." Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.