changeset 105003:5b946f854966

* url-handlers.el (url-copy-file): Add fifth arg for compatibility with 2005-06-25 change to copy-file (Bug#4410).
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 13 Sep 2009 21:21:40 +0000
parents e78ee4d53b02
children 782f60a5e57a
files lisp/url/ChangeLog lisp/url/url-handlers.el
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/url/ChangeLog	Sun Sep 13 21:09:05 2009 +0000
+++ b/lisp/url/ChangeLog	Sun Sep 13 21:21:40 2009 +0000
@@ -1,3 +1,8 @@
+2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
+
+	* url-handlers.el (url-copy-file): Add fifth arg for compatibility
+	with 2005-06-25 change to copy-file (Bug#4410).
+
 2009-09-13  Glenn Morris  <rgm@gnu.org>
 
 	* url-file.el (url-file): Avoid assignment to free variable `filename'.
--- a/lisp/url/url-handlers.el	Sun Sep 13 21:09:05 2009 +0000
+++ b/lisp/url/url-handlers.el	Sun Sep 13 21:21:40 2009 +0000
@@ -215,7 +215,8 @@
 
 ;; The actual implementation
 ;;;###autoload
-(defun url-copy-file (url newname &optional ok-if-already-exists keep-time)
+(defun url-copy-file (url newname &optional ok-if-already-exists
+			  keep-time preserve-uid-gid)
   "Copy URL to NEWNAME.  Both args must be strings.
 Signals a `file-already-exists' error if file NEWNAME already exists,
 unless a third argument OK-IF-ALREADY-EXISTS is supplied and non-nil.
@@ -223,6 +224,7 @@
 This is what happens in interactive use with M-x.
 Fourth arg KEEP-TIME non-nil means give the new file the same
 last-modified time as the old one.  (This works on only some systems.)
+Fifth arg PRESERVE-UID-GID is ignored.
 A prefix arg makes KEEP-TIME non-nil."
   (if (and (file-exists-p newname)
 	   (not ok-if-already-exists))