[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: package manager patch + problem
From: |
Paul Kienzle |
Subject: |
Re: package manager patch + problem |
Date: |
Tue, 27 Feb 2007 20:16:33 -0500 |
On Feb 27, 2007, at 3:21 PM, Michael Goffioul wrote:
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..
"clear all" should be enough. Locked files shouldn't
be a problem for m-files. I don't know if it's possible
to lock an oct-file, but if yes, then it might be problem;
Yes, because if you have variables of a user-defined type
octave will segfault when you access them.
however, I guess the file is only locked when the code is
actually executed; so by restarting octave and then "pkg
uninstall", it should be OK.
Looking at autoload(), it doesn't seem to load the file.
I suspect the which() command does, but it is not
immediately clear from glancing at the code. Maybe
we could use the following instead:
autoload("glog",file_in_loadpath("gf.oct"))
- Paul
- package manager patch + problem, michael . goffioul, 2007/02/27
- Re: package manager patch + problem, David Bateman, 2007/02/27
- Re: package manager patch + problem, Michael Goffioul, 2007/02/27
- Re: package manager patch + problem,
Paul Kienzle <=
- 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