🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11821

Re: Question about EXAMINE/EXNEXT

#11821
From: Peter da Silva
Date: Wed, 15 Mar 1989 11:34
9 lines
925 bytes
The only safe thing to do is have scdir() read all the file names right off
into malloced ram. That solves both problems: loose locks and changing
directories %. Then later calls to scdir() would just step down the list
and free the names... or not.
-- 
% Yes, I know this just narrows the window of vulnerability.
-- 
Peter "Have you hugged your wolf today" da Silva      `-_-'
...texbell!sugar!peter, or peter@sugar.hackercorp.com  'U`
Technical Details
Message-ID: <3622@sugar.hackercorp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!texbell!sugar!peter
References: <8374@netnews.upenn.edu> <757@microsoft.UUCP> <5977@bsu-cs.UUCP> <6077@bsu-cs.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!texbell!sugar!peter
From: peter@sugar.hackercorp.com (Peter da Silva)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Question about EXAMINE/EXNEXT
Message-ID: <3622@sugar.hackercorp.com>
Date: 15 Mar 89 11:34:31 GMT
References: <8374@netnews.upenn.edu> <757@microsoft.UUCP> <5977@bsu-cs.UUCP> <6077@bsu-cs.UUCP>
Distribution: na
Organization: Sugar Land Unix - Houston
Lines: 9