aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32.c b/src/w32.c
index 4e7f77e9b95..68446489272 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -6045,7 +6045,7 @@ acl_set_file (const char *fname, acl_type_t type, acl_t acl)
6045 errno = 0; 6045 errno = 0;
6046 /* SetFileSecurity is deprecated by MS, and sometimes fails when 6046 /* SetFileSecurity is deprecated by MS, and sometimes fails when
6047 DACL inheritance is involved, but it seems to preserve ownership 6047 DACL inheritance is involved, but it seems to preserve ownership
6048 better than SetNamedSecurity, which is important e.g., in 6048 better than SetNamedSecurityInfo, which is important e.g., in
6049 copy-file. */ 6049 copy-file. */
6050 if (!set_file_security (fname, flags, (PSECURITY_DESCRIPTOR)acl)) 6050 if (!set_file_security (fname, flags, (PSECURITY_DESCRIPTOR)acl))
6051 { 6051 {