emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp/url ChangeLog url-handlers.el


From: Chong Yidong
Subject: [Emacs-diffs] emacs/lisp/url ChangeLog url-handlers.el
Date: Sun, 13 Sep 2009 21:21:40 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/09/13 21:21:40

Modified files:
        lisp/url       : ChangeLog url-handlers.el 

Log message:
        * url-handlers.el (url-copy-file): Add fifth arg for compatibility
        with 2005-06-25 change to copy-file (Bug#4410).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/url/ChangeLog?cvsroot=emacs&r1=1.183&r2=1.184
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/url/url-handlers.el?cvsroot=emacs&r1=1.32&r2=1.33

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/url/ChangeLog,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -b -r1.183 -r1.184
--- ChangeLog   13 Sep 2009 02:09:12 -0000      1.183
+++ ChangeLog   13 Sep 2009 21:21:40 -0000      1.184
@@ -1,3 +1,8 @@
+2009-09-13  Chong Yidong  <address@hidden>
+
+       * 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  <address@hidden>
 
        * url-file.el (url-file): Avoid assignment to free variable `filename'.

Index: url-handlers.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/url/url-handlers.el,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- url-handlers.el     27 Mar 2009 15:58:16 -0000      1.32
+++ url-handlers.el     13 Sep 2009 21:21:40 -0000      1.33
@@ -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))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]