Article View: comp.sys.amiga.tech
Article #7220Re: UnLocking locks returned by CurrentDir()
From: Anthon Pang
Date: Tue, 04 Dec 1990 20:43
Date: Tue, 04 Dec 1990 20:43
8 lines
759 bytes
759 bytes
First of all, IMO, CurrentDir takes the old lock, frees it, and gives you a new one. Secondly, NULL isn't a valid lock value (returned by Lock, CurrentDir, DupLock...)...it is used as a function parameter to specify the root directory or system volume. -- Disclaimer: just pulled an all nighter...so all of this is just MHO and swiss-cheese memory.
Technical Details
Message-ID:
<4046@mindlink.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!usc!wuarchive!zaphod.mps.ohio-state.edu!van-bc!rsoft!mindlink!a665Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!usc!wuarchive!zaphod.mps.ohio-state.edu!van-bc!rsoft!mindlink!a665 From: a665@mindlink.UUCP (Anthon Pang) Newsgroups: comp.sys.amiga.tech Subject: Re: UnLocking locks returned by CurrentDir() Message-ID: <4046@mindlink.UUCP> Date: 4 Dec 90 20:43:40 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 8