Hi all, I'm facing a stupid problem with ecore inotify, the bug is quite simple: if you set 2 different monitors on the same folder only the first callback will be called when something in the folder change.
This is really annoying, I'm developing a classic 2 panes filemanager and I have 2 monitors for the 2 view, when they point to the same folder only one gets updated. The problem in the code is quite simple as you can see in ecore_file_monitor_inotify.c (around line 170), we infact search for just the first attached monitor using the _ecore_file_monitor_inotify_monitor_find() function. Here a simple patch that fix the problem for me: http://pastebin.com/e5gE7tNd What do you think? is the right solution? what about the other backend? thanks davemds ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
