You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/18 12:13:10 UTC
svn commit: r805344 - in
/commons/sandbox/runtime/trunk/src/main/native/os/win32: main.c platform.c
wusec.c
Author: mturk
Date: Tue Aug 18 10:13:09 2009
New Revision: 805344
URL: http://svn.apache.org/viewvc?rev=805344&view=rev
Log:
Use correct struct name
Modified:
commons/sandbox/runtime/trunk/src/main/native/os/win32/main.c
commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c
commons/sandbox/runtime/trunk/src/main/native/os/win32/wusec.c
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/main.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/main.c?rev=805344&r1=805343&r2=805344&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/main.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/main.c Tue Aug 18 10:13:09 2009
@@ -47,10 +47,10 @@
PSID acr_everyone_sid = NULL;
PSID acr_adminsgr_sid = NULL;
-LPSECURITY_DESCRIPTOR acr_sd_generic_admin = NULL;
-LPSECURITY_DESCRIPTOR acr_sd_filesys_admin = NULL;
-LPSECURITY_DESCRIPTOR acr_sd_generic_users = NULL;
-LPSECURITY_DESCRIPTOR acr_sd_filesys_users = NULL;
+PSECURITY_DESCRIPTOR acr_sd_generic_admin = NULL;
+PSECURITY_DESCRIPTOR acr_sd_filesys_admin = NULL;
+PSECURITY_DESCRIPTOR acr_sd_generic_users = NULL;
+PSECURITY_DESCRIPTOR acr_sd_filesys_users = NULL;
typedef struct acr_thread_local_t {
JNIEnv *env;
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c?rev=805344&r1=805343&r2=805344&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c Tue Aug 18 10:13:09 2009
@@ -26,10 +26,10 @@
extern PSID acr_everyone_sid;
extern PSID acr_adminsgr_sid;
extern LPSYSTEM_INFO acr_osinf;
-extern LPSECURITY_DESCRIPTOR acr_sd_generic_admin;
-extern LPSECURITY_DESCRIPTOR acr_sd_filesys_admin;
-extern LPSECURITY_DESCRIPTOR acr_sd_generic_users;
-extern LPSECURITY_DESCRIPTOR acr_sd_filesys_users;
+extern PSECURITY_DESCRIPTOR acr_sd_generic_admin;
+extern PSECURITY_DESCRIPTOR acr_sd_filesys_admin;
+extern PSECURITY_DESCRIPTOR acr_sd_generic_users;
+extern PSECURITY_DESCRIPTOR acr_sd_filesys_users;
acr_size_t acr_page_size;
int acr_native_codepage = ACR_CP_DEFAULT;
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/wusec.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/wusec.c?rev=805344&r1=805343&r2=805344&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/wusec.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/wusec.c Tue Aug 18 10:13:09 2009
@@ -300,7 +300,7 @@
{
wchar_t sdd[ACR_MBUFF_SIZ];
wchar_t saa[32] = L"";
- LPSECURITY_DESCRIPTOR pSD = NULL;
+ PSECURITY_DESCRIPTOR pSD = NULL;
wcscpy(sdd, "D:(D;OICI;GA;;;BG)(D;OICI;GA;;;AN)");
wcscpy(saa, L"(A;OICI;GA");