summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mnt.el
diff options
context:
space:
mode:
authorthierry volpiatto <thierry.volpiatto@gmail.com>2012-02-24 19:04:03 +0100
committerthierry volpiatto <thierry.volpiatto@gmail.com>2012-02-24 19:04:03 +0100
commit25b2e303b07ba9b68c2749754c6cca88f0ecac91 (patch)
tree8c3f668f8af2e61649ac6dfa3f3f802f7dc0aca0 /lisp/emacs-lisp/lisp-mnt.el
parent58b65bf58c3527e862afd40b64fb54dc116538d5 (diff)
downloademacs-25b2e303b07ba9b68c2749754c6cca88f0ecac91.tar.gz
emacs-25b2e303b07ba9b68c2749754c6cca88f0ecac91.tar.bz2
emacs-25b2e303b07ba9b68c2749754c6cca88f0ecac91.zip
Fix bug#10489: 24.0.92 `dired-do-copy' may create infinite directory hierarchy.
* lisp/files.el (files-equal-p): New, simple equality check between two filename. (file-subdir-of-p): New, Check if dir1 is subdir of dir2. (copy-directory): Return error when trying to copy a directory on itself. Add missing copy-contents arg to tramp handler. * lisp/dired-aux.el (dired-copy-file-recursive): Same. (dired-create-files): Modify destination when source is equal to dest when copying files. Return also when dest is a subdir of source.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions