Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 5781:0853e1ec8529
Use alloca_{rawbytes,ibytes} in #'copy-file, #'insert-file-contents-internal
src/ChangeLog addition:
2014-01-20 Aidan Kehoe <kehoea@parhasard.net>
* fileio.c (Fcopy_file, Finsert_file_contents_internal):
Use alloca_{rawbytes,ibytes} here instead of the implicit alloca
on the stack; doesn't change where the buffers are allocated for
these two functions, but does mean that decisions about alloca
vs. malloc based on buffer size are made in the same place
(ultimately, the ALLOCA() macro).
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 20 Jan 2014 17:53:07 +0000 |
parents | e9d0228c5671 |
children | 7277cf461612 |
comparison
equal
deleted
inserted
replaced
5780:580ebed3500a | 5781:0853e1ec8529 |
---|---|
1 2014-01-20 Aidan Kehoe <kehoea@parhasard.net> | |
2 | |
3 * fileio.c (Fcopy_file, Finsert_file_contents_internal): | |
4 Use alloca_{rawbytes,ibytes} here instead of the implicit alloca | |
5 on the stack; doesn't change where the buffers are allocated for | |
6 these two functions, but does mean that decisions about alloca | |
7 vs. malloc based on buffer size are made in the same place | |
8 (ultimately, the ALLOCA() macro). | |
9 | |
1 2014-01-16 Aidan Kehoe <kehoea@parhasard.net> | 10 2014-01-16 Aidan Kehoe <kehoea@parhasard.net> |
2 | 11 |
3 * fileio.c (READ_BUF_SIZE): | 12 * fileio.c (READ_BUF_SIZE): |
4 Stack sizes > 2**16 elicited bugs back in August 1996, but there's | 13 Stack sizes > 2**16 elicited bugs back in August 1996, but there's |
5 nothing to indicate this is still the case. GNU uses a block size | 14 nothing to indicate this is still the case. GNU uses a block size |