Mercurial > hg > xemacs-beta
comparison src/fileio.c @ 5782:7277cf461612
Use an explicit hexadecimal constant for READ_BUF_SIZE, correct ChangeLog.
src/ChangeLog addition:
2014-01-20 Aidan Kehoe <kehoea@parhasard.net>
* fileio.c
[...]
(READ_BUF_SIZE): Use an explicit hexadecimal constant for the
0x20000 value for this, don't left-shift 2 16 times. Correct the
last ChangeLog entry after Jerry James pointed out a mistake on my
part. Thank you for review and discussion, Jerry and Stephen
Turnbull.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 20 Jan 2014 18:13:15 +0000 |
parents | 0853e1ec8529 |
children | a216b3c2b09e |
comparison
equal
deleted
inserted
replaced
5781:0853e1ec8529 | 5782:7277cf461612 |
---|---|
1784 statptr->st_mode = 0; | 1784 statptr->st_mode = 0; |
1785 } | 1785 } |
1786 return; | 1786 return; |
1787 } | 1787 } |
1788 | 1788 |
1789 #define READ_BUF_SIZE (2 << 16) | 1789 #define READ_BUF_SIZE 0x20000 |
1790 | 1790 |
1791 DEFUN ("copy-file", Fcopy_file, 2, 4, | 1791 DEFUN ("copy-file", Fcopy_file, 2, 4, |
1792 "fCopy file: \nFCopy %s to file: \np\nP", /* | 1792 "fCopy file: \nFCopy %s to file: \np\nP", /* |
1793 Copy FILENAME to NEWNAME. Both args must be strings. | 1793 Copy FILENAME to NEWNAME. Both args must be strings. |
1794 Signals a `file-already-exists' error if file NEWNAME already exists, | 1794 Signals a `file-already-exists' error if file NEWNAME already exists, |