diff options
Diffstat (limited to 'win/tclWinTest.c')
| -rw-r--r-- | win/tclWinTest.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/win/tclWinTest.c b/win/tclWinTest.c index 999c5ba..1a6a3db 100644 --- a/win/tclWinTest.c +++ b/win/tclWinTest.c @@ -582,14 +582,9 @@ TestplatformChmod( * to remove inherited ACL (we need to overwrite the default ACL's in this case) */ - if (SetNamedSecurityInfoA((LPSTR)nativePath, - SE_FILE_OBJECT, - DACL_SECURITY_INFORMATION | - PROTECTED_DACL_SECURITY_INFORMATION, - NULL, - NULL, - newAcl, - NULL) == ERROR_SUCCESS) { + if (SetNamedSecurityInfoA((LPSTR)nativePath, SE_FILE_OBJECT, + DACL_SECURITY_INFORMATION | PROTECTED_DACL_SECURITY_INFORMATION, + NULL, NULL, newAcl, NULL) == ERROR_SUCCESS) { res = 0; } @@ -613,8 +608,6 @@ TestplatformChmod( /* Run normal chmod command */ return chmod(nativePath, pmode); - - } /* |
