]> git.eshelyaron.com Git - emacs.git/commit
regex-emacs: copy less when reallocating
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Aug 2020 07:07:09 +0000 (00:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Aug 2020 07:20:31 +0000 (00:20 -0700)
commite823709d1755cb4fd087f2a9ba92d350dd32fe47
tree4ad4c54b18cc30ea8128b9619cf50504f2b45434
parentbd5771ff27dbbb2b09cc7c14f1ac040234285acc
regex-emacs: copy less when reallocating

* src/regex-emacs.c (GROW_FAIL_STACK): Copy just the
occupied stack slots, as the rest are garbage.
src/regex-emacs.c