Re: [COMMIT] Use a larger buffering size in #'copy-file too.
Jerry James <[email protected]>
| Newsgroups | gmane.emacs.xemacs.patches |
|---|---|
| Message-ID | <CAHCOHQksy4HWFwDMBeur+x3TDsn+6DYmC2ivNn3ei-es5fOF6Q@mail.gmail.com> |
On Thu, Jan 16, 2014 at 2:04 PM, Aidan Kehoe <[email protected]> wrote: > diff -r 319e18d08654 -r e9d0228c5671 src/fileio.c > --- a/src/fileio.c Thu Jan 16 20:26:27 2014 +0000 > +++ b/src/fileio.c Thu Jan 16 21:03:03 2014 +0000 > @@ -1785,6 +1785,8 @@ > } > return; > } > + > +#define READ_BUF_SIZE (2 << 16) > > DEFUN ("copy-file", Fcopy_file, 2, 4, > "fCopy file: \nFCopy %s to file: \np\nP", /* > Same story as with the last patch. Now READ_BUF_SIZE == #x20000, not #x10000 as the comments suggest you intended; use (1 << 16) for that. -- Jerry James http://www.jamezone.org/ _______________________________________________ XEmacs-Patches mailing list [email protected] http://lists.xemacs.org/mailman/listinfo/xemacs-patches