[haiku-bugs] Re: [Haiku] #15102: stat() modifies the access time of an existing file.

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 06 Sep 2021 13:22:54 -0000

#15102: stat() modifies the access time of an existing file.
---------------------------+----------------------------
  Reporter:  return_0e     |      Owner:  nobody
      Type:  bug           |     Status:  new
  Priority:  low           |  Milestone:  Unscheduled
 Component:  System/POSIX  |    Version:  R1/Development
Resolution:                |   Keywords:
Blocked By:                |   Blocking:
  Platform:  All           |
---------------------------+----------------------------
Comment (by fuhllrdv):

 Replying to [comment:4 X512]:

Therefore stat command and other commands should be optimized for BFS.

Haiku can use other file systems, not only BFS. So access time may be
 valid in some cases.

 Exactly, but no timestamp should be displayed under "Access time" for BFS,
 a hyphen {{{-}}} is sufficient. For other file systems it can be displayed
 if implemented correctly.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15102#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: