[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49203] File visible in File Browser, but inte
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive |
Date: |
Thu, 29 Sep 2016 23:10:28 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Update of bug #49203 (project octave):
Status: None => Need Info
_______________________________________________________
Follow-up Comment #1:
Is there a delay between when the file is saved and when the network-mapped
directory modification timestamp is updated?
After creating the file, what do the following (feel free to play with these
functions) show?
>> cd /tmp
>> dirinfo = dir (pwd); disp (ctime (dirinfo(1).statinfo.mtime))
Thu Sep 29 15:17:01 2016
>> edit testfun.m
>> fileinfo = dir (fullfile (pwd, "testfun.m")); disp (ctime
(fileinfo.statinfo.mtime))
Thu Sep 29 16:06:11 2016
>> dirinfo = dir (pwd); disp (ctime (dirinfo(1).statinfo.mtime))
Thu Sep 29 16:06:11 2016
## some time passes, mtime changes?
On my system the mtimes of the file and the containing directory (not
network-mounted) are identical. When Octave encounters an unknown name, it
traverses the load path and looks for any directories that have modification
times later than the last time the directory was scanned. If the mtime has not
been updated, then there must not be any new files in that directory.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49203>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive,
Mike Miller <=