octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31080] User scripts or functions created duri


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 13:15:11 -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 #48, bug #31080 (project octave):

Thanks. 
So, it looks like the mtime of the parent directory didn't update when the
file was created.
It is for me when I do the same:

>> format long
>> which test1
>> stat('.')
ans =

  scalar structure containing the fields:

    dev = 3
    ino = 0
    mode = 16895
    modestr = drwxrwxrwx
    nlink = 1
    uid = 0
    gid = 0
    rdev = 3
    size = 0
    atime = 1635525754
    mtime = 1635523631
    ctime = 1635523460
    blksize = NaN
    blocks = NaN

>> fclose(fopen('test1.m', 'w'));
>> stat('.')
ans =

  scalar structure containing the fields:

    dev = 3
    ino = 0
    mode = 16895
    modestr = drwxrwxrwx
    nlink = 1
    uid = 0
    gid = 0
    rdev = 3
    size = 0
    atime = 1635527519
    mtime = 1635527519
    ctime = 1635523460
    blksize = NaN
    blocks = NaN

>> which test1
'test1' is a script from the file
D:\SVN\Octave\test\octave-2021-10-28-21-39-w64 release
of-audio\octave-2021-10-28-21-39-w64\test1.m


What file system (NTFS, FAT32, exFAT, ...) do you use on your drive D:?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?31080>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]