]> git.eshelyaron.com Git - emacs.git/commit
Avoid some make_formatted_string mallocs
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 28 Jan 2025 01:15:47 +0000 (17:15 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 30 Jan 2025 18:08:52 +0000 (19:08 +0100)
commitb5b83b0488918ce95ac7ba06900e549021b6e422
tree242ea2c99464bc96231542c92c3a1e191f9f397b
parent91de1fb5c3c1bca627d067ed0e5a7fafa2db8dd6
Avoid some make_formatted_string mallocs

* src/alloc.c (make_formatted_string):
Grow the local buffer from 64 to MAX_ALLOCA bytes.

(cherry picked from commit 1f1088188e8b9319f60141a093431f1f85c2b03c)
src/alloc.c