[Bug 10649] Regression in RegQueryValueExA when called in unorthodox manner

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Dec 3 13:18:33 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=10649





--- Comment #5 from Juan Lang <juan_lang at yahoo.com>  2007-12-03 13:18:32 ---
Hi Sam, you should write the test case so that it passes on Windows (and fails
on Wine) to show the problem.  Mark the failing tests on Wine with todo_wine.  

I changed the last two ok calls in your patch to:
+        todo_wine ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %d\n",
ret);
+        todo_wine ok(size == sizeof string1A, "%d (type?) returned when size
expected - this is a false assumption if reported on Windows, the test case and
WINE RegQueryValueEx should be fixed\n", size);

and the tests succeed for me.  Please make a similar change (and perhaps remove
the "this is a false assumption..." bit, that's a tad verbose) and send to
wine-patches.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list