Advapi - security test fails on Windows 98
Jakob Eriksson
jakov at vmlinux.org
Wed Nov 3 04:44:38 CST 2004
This API does not work on Win98.
(Should there be a changelog entry in the file, won't it be enough that
there is
a changelog entry in CVS? BTW.)
jakov at toto:~/src/wine$ cvs diff -u dlls/advapi32/tests/security.c
Index: dlls/advapi32/tests/security.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/tests/security.c,v
retrieving revision 1.4
diff -u -r1.4 security.c
--- dlls/advapi32/tests/security.c 16 Sep 2004 20:27:52 -0000 1.4
+++ dlls/advapi32/tests/security.c 3 Nov 2004 10:40:37 -0000
@@ -133,13 +133,15 @@
{
TRUSTEE trustee;
PSID psid;
- DWORD r;
LPSTR str = "2jjj";
SID_IDENTIFIER_AUTHORITY auth = { {0x11,0x22,0,0,0, 0} };
- r = AllocateAndInitializeSid( &auth, 1, 42, 0,0,0,0,0,0,0,&psid );
- ok( r, "failed to init SID\n" );
+ if ( ! AllocateAndInitializeSid( &auth, 1, 42, 0,0,0,0,0,0,0,&psid ) )
+ {
+ trace( "failed to init SID\n" );
+ return;
+ }
memset( &trustee, 0xff, sizeof trustee );
BuildTrusteeWithSidA( &trustee, psid );
More information about the wine-patches
mailing list