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

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

[Octave-bug-tracker] [bug #60685] the save function does not update the


From: Chris
Subject: [Octave-bug-tracker] [bug #60685] the save function does not update the file modified date/time when overwritting a file
Date: Fri, 28 May 2021 12:25:46 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0

URL:
  <https://savannah.gnu.org/bugs/?60685>

                 Summary: the save function does not update the file modified
date/time when overwritting a file
                 Project: GNU Octave
            Submitted by: chris0112
            Submitted on: Fri 28 May 2021 04:25:45 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The following loop will demonstrate the bug. At the end of the loop, the file
will correctly have A=5 saved but the file modified date/time displayed in
Windows will be the first minute that the file was created, not the last time
it was updated. 

 
for ii = 1:5 
  A = ii; 
  save('TestFile.mat','A') 
  pause(60)
end


This might be more of an issue with Windows than Octave, but it does work as
expected in MATLAB. This minor issue gave me a mini heart attack when I
noticed that code that I had running for a while apparently wasn’t updating
the save file. Thanks!




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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