summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-loaddefs.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2011-03-11 14:19:08 +0200
committerEli Zaretskii <eliz@gnu.org>2011-03-11 14:19:08 +0200
commit2920e68d73e0009f368e817207964efaff751f85 (patch)
tree26c29a20149fc8539acb28ee9237310e311d9c04 /lisp/emacs-lisp/cl-loaddefs.el
parent69cc79e9e067543c5b20adcea1d756f1dd9569dc (diff)
downloademacs-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