Fabian Bieler wrote:
The only way I know of to test this behavior would be to pass a NULL pointer as callback. Naturally this results in a segfault without this patch. Is this okay for a testcase?
Use if(0) instead of todo_wine then (and let the second patch, which fixes the bug, remove the if(0)).