Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5ab38c3c
Commit
5ab38c3c
authored
Apr 12, 2009
by
Michael Albinus
Browse files
* tramp.el (tramp-do-copy-or-rename-file-directly): Overwrite
always the tmpfile. (Bug#2962).
parent
b86c2eb9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/tramp.el
lisp/net/tramp.el
+4
-7
No files found.
lisp/ChangeLog
View file @
5ab38c3c
2009-04-12 Michael Albinus <michael.albinus@gmx.de>
* tramp.el (tramp-do-copy-or-rename-file-directly): Overwrite
always the tmpfile. (Bug#2962).
2009-04-11 Chong Yidong <cyd@stupidchicken.com>
* files.el (dir-locals-directory-cache): Change format to include
...
...
lisp/net/tramp.el
View file @
5ab38c3c
...
...
@@ -3287,11 +3287,11 @@ the uid and gid from FILENAME."
(t2
(if (eq op 'copy)
(tramp-compat-copy-file
localname1 tmpfile
ok-if-already-exists
localname1 tmpfile
t
keep-date preserve-uid-gid)
(tramp-run-real-handler
'rename-file
(list localname1 tmpfile
ok-if-already-exists
)))
(list localname1 tmpfile
t
)))
;; We must change the ownership as local user.
(tramp-set-file-uid-gid
tmpfile
...
...
@@ -7758,9 +7758,6 @@ Only works for Bourne-like shells."
;; Functions for file-name-handler-alist:
;; diff-latest-backup-file -- in diff.el
;; dired-uncache -- this will be needed when we do insert-directory caching
;; file-name-sans-versions -- use primitive?
;; get-file-buffer -- use primitive
;; vc-registered
;; arch-tag: 3a21a994-182b-48fa-b0cd-c1d9fede424a
;;; tramp.el ends here
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment