[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: package manager patch + problem
From: |
David Bateman |
Subject: |
Re: package manager patch + problem |
Date: |
Tue, 27 Feb 2007 15:58:10 +0100 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
address@hidden wrote:
> Below is a diff proposal for pkg.m, which makes it a little bit more
> system-independent.
This seems like a good idea...
> Besides this, I have a problem when trying to
> uninstall a package, which has been loaded, due to the fact that you
> can't remove a DLL (oct-files are DLL's) if a process has mapped it
> into memory.
>
> This can happen, even if you didn't actually call any function in the
> package, due to "autoload" statements that use "which", like
>
> autoload ("glog", which ("gf"));
>
> Is it possible to automatically unload all oct-files that are part of a
> package?
what does
pkg unload <pkg>
clear all;
pkg uninstall <pkg>
do? Perhaps the clear all isn't needed, but might be.. I think there are
also some packages in octave-forge that cheat and use "mlock" to prevent
the files being removed, and I don't know how that will work..
Regards
David
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
- package manager patch + problem, michael . goffioul, 2007/02/27
- Re: package manager patch + problem,
David Bateman <=
- Re: package manager patch + problem, Michael Goffioul, 2007/02/27
- Re: package manager patch + problem, Paul Kienzle, 2007/02/27
- Re: package manager patch + problem, Michael Goffioul, 2007/02/28
- Re: package manager patch + problem, David Bateman, 2007/02/28
- Re: package manager patch + problem, Paul Kienzle, 2007/02/28
- Re: package manager patch + problem, David Bateman, 2007/02/28
- Re: package manager patch + problem, Paul Kienzle, 2007/02/28
package manager patch + problem, John W. Eaton, 2007/02/27