fsevents fail to fire for some paths, but not all
||Date Originated:||29-Sep-2011 12:36 PM|
|Product:||Mac OS X
29-Sep-2011 12:36 PM Travis Tilley:
Please read the github issue comments, starting with: https://github.com/thibaudgg/rb-fsevent/issues/10#issuecomment-2229407
While the bug is occuring, realpath()/readdir() and FSCopyAliasInfo() return paths with different case. The filesystem is always HFS+. It appears that Dropbox exacerbates the problem, but is not in itself responsible. In all scenarios, renaming the folder to a different case and back fixes the problem.
I guess my second biggest problem here is that people see the bug report, rename a directory, and go on with their lives... leaving me in the dark about the issue's root cause. ;)
Steps to Reproduce:
events should always fire.
if realpath() and FSCopyAliasInfo() return different case for a path, then fsevents are not fired.
The bug is reliably detected by this code: https://github.com/andreyvit/find-fsevents-bugs/blob/master/find-fsevents-bugs.c
Unfortunately, I am unaware of how to reliably _reproduce_ the bug myself, and it's easy to accidentally fix.
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!