[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clearing oct files

From: David L
Subject: clearing oct files
Date: Mon, 1 Mar 2021 12:25:19 -0800


I've just started playing with integrating some C/C++ tools with octave using oct files. I was wondering if it's possible to have octave pick up a recompiled .oct file without restarting octave. I've seen different behavior when trying to do this including a crash like the one in the closed bug report here:

warning: library /tmp/foo.oct not reloaded due to existing references
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault (core dumped)

If I remove the .oct file and call it, it says it's undefined and doesn't crash. If I then copy the new one, it doesn't crash, but it also doesn't pick up the changes until I exit octave and restart. Is that old bug really fixed? I'm using 6.2.0.



On a related topic, if the .oct file is a symbolic link and you clear the function, it behaves just as if the .oct file didn't change when the destination of the symlink changes.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]