diff options
author | Fabrice Popineau <fabrice.popineau@supelec.fr> | 2013-12-31 17:00:43 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-12-31 17:00:43 +0200 |
commit | 0bbd0e0b1d5f358c85506dcc5451e14fb95864a8 (patch) | |
tree | 0a56bb067ef4682c3b634bc9d4ff9e2b558d728c /lisp/cedet/srecode/java.el | |
parent | 9b3c0a162e7876bab09c299ff4d803b632bf3ac8 (diff) | |
download | emacs-0bbd0e0b1d5f358c85506dcc5451e14fb95864a8.tar.gz emacs-0bbd0e0b1d5f358c85506dcc5451e14fb95864a8.tar.bz2 emacs-0bbd0e0b1d5f358c85506dcc5451e14fb95864a8.zip |
Fall back on SetNamedSecurityInfo if SetFileSecurity fails in acl_set_file.
src/w32.c (set_named_security_info): New function.
(acl_set_file): Fall back on set_named_security_info if
set_file_security fails. Fixes rare failures in backups.
(g_b_init_set_named_security_info_w)
(g_b_init_set_named_security_info_a): New static variables.
(globals_of_w32): Initialize them to zero.
(set_named_security_info): Set them to non-zero if the
corresponding API is available.
(SetNamedSecurityInfoW_Proc, SetNamedSecurityInfoA_Proc): New
function typedefs.
Diffstat (limited to 'lisp/cedet/srecode/java.el')
0 files changed, 0 insertions, 0 deletions