🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

AmigaDOS questions!!

#5752
From: Phil Dietz
Date: Thu, 11 Oct 1990 21:25
21 lines
1436 bytes
I'm using Lattice 'C' 5.04 and I have a problem.

I've written a Zoo2Lzh program that does a list and converts zoo->lzh
through the system() command.  Well anyway, everything goes
well until it hits the WHILE (ExNext(lock,&fi)); command.  When it
hits it, it GURUS with a Disk Corrupt error.  For somereason, if I
change it to (Examine(lock,&fi), the program works, BUT all the old
files have to be READ ALL OVER AGAIN!
 
Do I have to lock the directory again or call another function to a
directory, if I've heavily changed the contents earlier?  Or do I have
to put in a wait cycle or something to allow all the floppy acces to be
done before it gets the next (ExNext(lock,&fi)) entry....
 
Help.
Phil Dietz


<<<=================--------- Cheap Ad ---------===================<<<
Phil Dietz                       SWL Lincoln    550 MEGS! 2 lines
252u3130@fergvax.unl.edu         (402)421-1963  IBM, GIFS, MAC, AMIGA
Technical Details
Message-ID: <1990Oct11.212541.18365@hoss.unl.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cica!iuvax!ux1.cso.uiuc.edu!maverick.ksu.ksu.edu!hoss!fergvax!252u3130

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cica!iuvax!ux1.cso.uiuc.edu!maverick.ksu.ksu.edu!hoss!fergvax!252u3130
From: 252u3130@fergvax.unl.edu (Phil Dietz)
Newsgroups: comp.sys.amiga.tech
Subject: AmigaDOS questions!!
Message-ID: <1990Oct11.212541.18365@hoss.unl.edu>
Date: 11 Oct 90 21:25:41 GMT
Sender: news@hoss.unl.edu (Network News Administer)
Organization: Comp Sci and Engr, Univ. of Nebr.
Lines: 21