diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-03-11 14:19:08 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-03-11 14:19:08 +0200 |
commit | 2920e68d73e0009f368e817207964efaff751f85 (patch) | |
tree | 26c29a20149fc8539acb28ee9237310e311d9c04 /lisp/emacs-lisp/cl-loaddefs.el | |
parent | 69cc79e9e067543c5b20adcea1d756f1dd9569dc (diff) | |
download | emacs-2920e68d73e0009f368e817207964efaff751f85.tar.gz emacs-2920e68d73e0009f368e817207964efaff751f85.tar.bz2 emacs-2920e68d73e0009f368e817207964efaff751f85.zip |
Fix comparisons of file ownership on MS-Windows for the Administrator user.
lisp/files.el (file-ownership-preserved-p): Pass `integer' as an
explicit 2nd argument to `file-attributes'. If the file's owner
is the Administrators group on Windows, and the current user is
Administrator, consider that a match.
lisp/server.el (server-ensure-safe-dir): Consider server directory
safe on MS-Windows if its owner is the Administrators group while
the current Emacs user is Administrator. Use `=' to compare
numerical UIDs, since they could be integers or floats.
Diffstat (limited to 'lisp/emacs-lisp/cl-loaddefs.el')
0 files changed, 0 insertions, 0 deletions