Lessen stack consumption in recursive read1
* src/lread.c (read1): Shrink local buffer size from MAX_ALLOCA to 128 (Bug#31995).
This commit is contained in:
@@ -2677,7 +2677,7 @@ read1 (Lisp_Object readcharfun, int *pch, bool first_in_list)
|
||||
int c;
|
||||
bool uninterned_symbol = false;
|
||||
bool multibyte;
|
||||
char stackbuf[MAX_ALLOCA];
|
||||
char stackbuf[128]; /* Small, as read1 is recursive (Bug#31995). */
|
||||
current_thread->stack_top = stackbuf;
|
||||
|
||||
*pch = 0;
|
||||
|
||||
Reference in New Issue
Block a user