comparison src/fileio.c @ 90082:6d92d69fae33

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-4 Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-41 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-46 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-47 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-4 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-5 Update from CVS: exi/gnus-faq.texi ([4.1]): Typo. * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-6 Update from CVS
author Miles Bader <miles@gnu.org>
date Sat, 22 Jan 2005 21:39:38 +0000
parents 95879cc1ed20 9f1d36cee13a
children 29e773288013
comparison
equal deleted inserted replaced
90081:b1b6eac1aaa3 90082:6d92d69fae33
2393 If NEWNAME names a directory, copy FILE there. 2393 If NEWNAME names a directory, copy FILE there.
2394 Signals a `file-already-exists' error if file NEWNAME already exists, 2394 Signals a `file-already-exists' error if file NEWNAME already exists,
2395 unless a third argument OK-IF-ALREADY-EXISTS is supplied and non-nil. 2395 unless a third argument OK-IF-ALREADY-EXISTS is supplied and non-nil.
2396 A number as third arg means request confirmation if NEWNAME already exists. 2396 A number as third arg means request confirmation if NEWNAME already exists.
2397 This is what happens in interactive use with M-x. 2397 This is what happens in interactive use with M-x.
2398 Fourth arg KEEP-TIME non-nil means give the new file the same 2398 Always sets the file modes of the output file to match the input file.
2399 Fourth arg KEEP-TIME non-nil means give the output file the same
2399 last-modified time as the old one. (This works on only some systems.) 2400 last-modified time as the old one. (This works on only some systems.)
2400 A prefix arg makes KEEP-TIME non-nil. 2401 A prefix arg makes KEEP-TIME non-nil. */)
2401 Also set the file modes of the target file to match the source file. */)
2402 (file, newname, ok_if_already_exists, keep_time) 2402 (file, newname, ok_if_already_exists, keep_time)
2403 Lisp_Object file, newname, ok_if_already_exists, keep_time; 2403 Lisp_Object file, newname, ok_if_already_exists, keep_time;
2404 { 2404 {
2405 int ifd, ofd, n; 2405 int ifd, ofd, n;
2406 char buf[16 * 1024]; 2406 char buf[16 * 1024];