[Bug 22100] New: SystemFunction036 has wrong prototype
http://bugs.winehq.org/show_bug.cgi?id=22100 Summary: SystemFunction036 has wrong prototype Product: Wine Version: 1.1.41 Platform: x86 OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: mtr1999(a)gmx.com SystemFunction036 in advapi32/crypt.c returns BOOLEAN instead of BOOL. http://msdn.microsoft.com/en-us/library/aa387694%28VS.85%29.aspx These two types are different. http://msdn.microsoft.com/en-us/library/aa383751%28VS.85%29.aspx typedef int BOOL; typedef BYTE BOOLEAN; This doesn't fail the SystemFunction036 winetest because the prototype there is wrong too. The ntsecapi.h header has the right prototype. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22100 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|All |other Severity|normal |trivial --- Comment #1 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-03-21 03:48:10 --- In reality this doesn't change anything. Feel free to send a patch. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22100 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|advapi32 |-unknown Resolution| |INVALID --- Comment #2 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-03-21 03:50:15 --- Actually this bug is invalid, you are confusing ntdll and advapi32. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22100 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-03-21 03:50:32 --- Closing invalid. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22100 Andrew Nguyen <arethusa26(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID | --- Comment #4 from Andrew Nguyen <arethusa26(a)gmail.com> 2010-03-21 10:39:48 --- (In reply to comment #2)
Actually this bug is invalid, you are confusing ntdll and advapi32.
I don't see how this is the case, as SystemFunction036 is exclusvely exported in advapi32, and RtlGenRandom is just a define for that function. I've sent a patch that corrects the prototype: http://source.winehq.org/patches/data/59564 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22100 Andrew Nguyen <arethusa26(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #5 from Andrew Nguyen <arethusa26(a)gmail.com> 2010-03-21 10:40:13 --- Confirming the bug. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22100 --- Comment #6 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-03-22 02:11:43 --- You are right: http://blogs.msdn.com/michael_howard/archive/2005/01/14/353379.aspx -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22100 Andrew Nguyen <arethusa26(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from Andrew Nguyen <arethusa26(a)gmail.com> 2010-03-22 12:27:42 --- This should be fixed by commit 890ce5360dd4ef14dcbebfa694d9af34f35e07bc. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22100 --- Comment #8 from mtr1999(a)gmx.com 2010-03-22 23:56:58 --- I think that line 1096 of dlls/advapi32/tests/crypt.c should be changed too. Thanks -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22100 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> 2010-04-02 12:52:32 --- Closing bugs fixed in 1.1.42. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org