https://bugs.winehq.org/show_bug.cgi?id=54491
--- Comment #4 from Robert Naumann gonzomdx@gmail.com --- Created attachment 74048 --> https://bugs.winehq.org/attachment.cgi?id=74048 a patch which makes the bug visible
I hope you can reproduce it that way:
1. Apply this attached patch 2. Open regedit, select the root key and try to export it. 3. it works without error ( export_all() is called which works correct ) 4. Open regedit, select any different key and try to export it. 5. it should work without, but throws an error ( export_key() is called which works not correct because it will EVER return FALSE because it gets its return value from export_registry_data(), which is ever 0 )
What I want is to either fix export_key() or export_registry_data(), so that in the end export_key() returns TRUE if succeeded and FALSE if failed.
I hope this makes it a bit clearer.