[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31080] User scripts or functions created duri
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #31080] User scripts or functions created during a session on Windows are not found |
Date: |
Mon, 13 Jun 2016 03:21:08 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #31080 (project octave):
Summary: User scripts or functions created during a session
are not found => User scripts or functions created during a session on Windows
are not found
_______________________________________________________
Follow-up Comment #29:
I like Abhinav's suggestion of only forcing a rehash of a directory known to
have changed. I wouldn't call that a sledgehammer at all.
One way to make it more fine-grained would be to allow the second argument to
be a filename rather than a directory. Then adding a file is very efficient
-- presumably much more efficient than doing a rehash of the whole directory
based on a timestamp. The only need for an inefficient whole-directory rehash
is that a file may have been added by a program external to (and not triggered
by) Octave.
Also, I think you would be looking for "FindFirstChangeNotification", the
Windows equivalent to Linux's inotify. I don't think MinGW supports inotyify.
[http://stackoverflow.com/questions/36125844/use-inotify-with-mingw]
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31080>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #31080] User scripts or functions created during a session on Windows are not found,
Lachlan Andrew <=