[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestam
|
From: |
Markus Mützel |
|
Subject: |
[Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp |
|
Date: |
Mon, 27 Nov 2023 09:19:27 -0500 (EST) |
Update of bug #64933 (project octave):
Status: None => Need Info
_______________________________________________________
Follow-up Comment #1:
What is the correct behavior of stat in that case?
I can imagine that some (long-time) measurement that uses mtime as a time
stamp would not want to get a sudden jump of 1 hour (or something else) just
because the time zone changed on the system that modified the file.
In that case, the behavior of `stat` like you describe it for filenames might
be preferred.
But there might also be other cases where the local time is preferred over a
more "universal" time...
It's definitely odd and unexpected that `stat` returns different timestamps
when passing file names or file ids.
Afaict, `stat` is an Octave-only function. So, Matlab-compatibility is no
concern. But cross-platform behavior might be:
What is the behavior on Linux?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64933>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp, INVALID.NOREPLY, 2023/11/27
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp,
Markus Mützel <=
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp, INVALID.NOREPLY, 2023/11/27
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp, Markus Mützel, 2023/11/27
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp, INVALID.NOREPLY, 2023/11/27
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp, John W. Eaton, 2023/11/27
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp, John W. Eaton, 2023/11/27
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp, Markus Mützel, 2023/11/27
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp, Nicholas Jankowski, 2023/11/27
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp, Nicholas Jankowski, 2023/11/27
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp, INVALID.NOREPLY, 2023/11/28
- [Octave-bug-tracker] [bug #64933] Stat sometimes produces wrong timestamp, Nicholas Jankowski, 2023/11/28