Too many notifications after attribute change
|Reported by:||laplace||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
Description (last modified by )
With node monitoring enabled, changing an attribute triggers a B_STAT_CHANGED notification after B_ATTR_CHANGED.
The B_STAT_CHANGED notification message contains in field "fields" B_STAT_SIZE and B_STATE_MODIFICATION_TIME). AFAICT the file size and modification time did not change.
This is an incompatibility to BeOS R5.
I had used B_STAT_CHANGED in an application as an easy indication that the contents of a file had changed. The application then tries to reload the file. However that application also updates some attributes after loading the file, which triggers now a B_STAT_CHANGED notification, which triggers a reload of the file, and so on...