Author Topic: How can I force the Mac OS to flush the directory  (Read 448 times)

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 787
  • Liked:
  • Likes Given: 8
How can I force the Mac OS to flush the directory
« on: August 31, 2021, 08:23:27 AM »
It may happen that you correct a bug in a program, then you crash and you have to restart before it has flushed the directory and then the directory entry for that file points to the old version of that file and this re-inserts the bug in the program. This is like a malware that undoes your changes.

How can I force the Mac OS to flush the directory before I start the debugger?

Offline IIO

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 3517
  • just a number
  • Liked:
  • Likes Given: 140
Re: How can I force the Mac OS to flush the directory
« Reply #1 on: August 31, 2021, 05:14:00 PM »
i dont know the correct answer (if there is one), but have you tried doing the same in classic enviroment? you could log fseventer events there.
insert arbitrary signature here

 


SimplePortal 2.3.6 © 2008-2014, SimplePortal