home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!daresbury!gjm
- From: gjm@gserv1.dl.ac.uk (g.j.milne)
- Newsgroups: comp.os.os9
- Subject: Re: HELP with Module-names
- Message-ID: <1992Sep11.085101.6115@gserv1.dl.ac.uk>
- Date: 11 Sep 92 08:51:01 GMT
- References: <obbe.716129530@galaxy>
- Sender: news@gserv1.dl.ac.uk (netnews)
- Reply-To: gjm@gserv1.dl.ac.uk
- Organization: Daresbury Laboratory, UK
- Lines: 24
-
- Have you tried using unlink to remove the program from memory? This
- should work unless the program is installed at boot time in which case
- it will not be removed.
-
- Renaming the program does not work for a simple reason. When the progam
- is compiled a memory module is created and the name of that memory
- module is usually set by the -f, -fd or -n options on the C compiler.
- When you run a program from disk the disk file is checked to see if it
- is a memory module and then loaded. OS-9 then adds the name of the
- memory module to its list of memory module.
-
- I find your problem unusual because I test and re-test programs all the
- time. Are you sure that you are not creating an executable with the
- sticky bit set (-bg option on the C compiler). This would mean that the
- module would not be removed from memory once the link count fell to
- zero.
-
- Ciao!
-
- Gordon
- ---
- S.E.R.C. Daresbury Laboratory, Warrington, WA4 4AD, United Kingdom.
- e-mail : g.j.milne@dl.ac.uk (INTERNET) g.j.milne@uk.ac.daresbury (JANET)
- Opinions expressed are my own, not necessarily those of my employer!
-