[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65406] functions in current directory don't t
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path |
Date: |
Tue, 5 Mar 2024 04:50:10 -0500 (EST) |
Follow-up Comment #5, bug #65406 (group octave):
The following change fixes the minimal reproducers for me:
diff -r cf907eacd776 libinterp/corefcn/interpreter.cc
--- a/libinterp/corefcn/interpreter.cc Tue Mar 05 09:00:30 2024 +0100
+++ b/libinterp/corefcn/interpreter.cc Tue Mar 05 10:48:25 2024 +0100
@@ -1407,6 +1407,9 @@
m_load_path.read_dir_config (".");
m_load_path.update ();
+ // This will force functions in the current directory to shadow functions
+ // from the load path.
+ Vlast_prompt_time.stamp ();
m_event_manager.directory_changed (sys::env::get_current_directory ());
But I didn't do any further tests.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65406>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65406] pkg test statistics fails include testing shadowed functions with core equivalents?, Nicholas Jankowski, 2024/03/02
- [Octave-bug-tracker] [bug #65406] pkg test statistics fails include testing shadowed functions with core equivalents?, Markus Mützel, 2024/03/03
- [Octave-bug-tracker] [bug #65406] pkg test statistics fails include testing shadowed functions with core equivalents?, Nicholas Jankowski, 2024/03/03
- [Octave-bug-tracker] [bug #65406] pkg test statistics fails include testing shadowed functions with core equivalents?, Markus Mützel, 2024/03/03
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path, Markus Mützel, 2024/03/05
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path,
Markus Mützel <=
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path, Dmitri A. Sergatskov, 2024/03/05
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path, Markus Mützel, 2024/03/07
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path, Rik, 2024/03/07
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path, Rik, 2024/03/19