|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #31080] User scripts or functions created during a session on Windows are not found |
Date: | Fri, 29 Oct 2021 07:33:16 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36 Edg/95.0.1020.30 |
Follow-up Comment #43, bug #31080 (project octave): Re-starting Octave isn't the solution. I just wanted to see if it is something intrinsic to that file or folder... Re-reading the discussion, it looks like rehash uses some logic to only re-scan the folders of which it thinks that they have changed. Does re-creating the load path cache completely with `path(path())` help? (I hope that doesn't use some clever tricks to avoid rehashing paths it thinks it already knows...) Additionally, IIUC, Mike's suspicion was that the modification date of the parent directory doesn't change. Could you try something like the following in a directory that doesn't contain a 'test1.m' file and show the results here? format long which test1 stat('.') fclose(fopen('test1.m', 'w')); stat('.') which test1 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?31080> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |