|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #40319] deleting script file in a function/script doesn't update the symbol table |
Date: | Thu, 24 Oct 2013 03:40:54 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36 |
Follow-up Comment #6, bug #40319 (project octave): Because delete may not always be used to delete script files? It seems a little hackish to me to reload the path in a function that may or may not add or remove a function that's in the symbol table. What about unlink("script.m")? What about system("rm -f script.m")? Or what if script is never called again after the delete, why bother reloading the path? It seems better to try to reload the path and look up again on demand when a symbol is actually used and can't be found. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?40319> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |