Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!cit-vax!ucla-cs!zen!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: What does RemLibrary() do? Message-ID: <8710161000.AA14835@cory.Berkeley.EDU> Date: Fri, 16-Oct-87 06:00:26 EDT Article-I.D.: cory.8710161000.AA14835 Posted: Fri Oct 16 06:00:26 1987 Date-Received: Sat, 17-Oct-87 19:23:44 EDT Sender: usenet@ucbvax.BERKELEY.EDU Lines: 20 It seems to do more then simply Remove()ing the library node.... When I have: Remove(lib) FreeMem((char *)lib-lib->lib_NegSize, lib->lib_NegSize+lib->lib_PosSize); In my Expunge() routine for a library it seems to work fine, but when I have: RemLibrary(lib) FreeMem((char *)lib-lib->lib_NegSize, lib->lib_NegSize+lib->lib_PosSize); It crashes. The lib pointer was originally construction with MakeLibrary(). As soon as I resolve the problem I will post a new example library to the net. -Matt