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

Offline OS923

  • Platinum Member
  • *****
  • Posts: 888
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
  • *****
  • Posts: 4439
  • just a number
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