On Tue Sep 20 15:54:41 2022 +0000, Santino Mazza wrote:
Oh sorry I forgot about looking into 'save_branch_info'. I saw that this is only used with the initial root hives loading and already uses filenames instead of file objects, also I've read that you mean load and save logic in general and the save_registry request still uses file objects, should I adapt that code to use filenames?
I meant re-working the `save_branch_info` stuff to allow additional hives to be added and removed, though maybe it's not such a good fit.
One issue with your current solution is that the `f(un)lockfile()` calls are not doing anything as the wineserver is single-threaded so these can be removed.