home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os9 / 1226 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.4 KB

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