|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #61080] GUI Editor cannot handle network paths |
Date: | Thu, 26 Aug 2021 05:16:30 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36 Edg/92.0.902.78 |
Follow-up Comment #7, bug #61080 (project octave): Thanks for testing. After a wild goose chase in and around load_path.cc, I realized that "edit.m" is *not* calling `file_in_loadpath`. It probably should do that because that function takes advantage of caching (which might be noticeable on network shares). Our load path classes seem to handle UNC paths correctly afaict. So to kill two birds with one stone, I pushed the following change to fix the issue with `edit` when files are on UNC shares: https://hg.savannah.gnu.org/hgweb/octave/rev/997cf870a963 Additionally, it looks like `file_in_path` isn't able to find files in network shares. I'll try to have a look at this soon. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61080> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |