]> git.eshelyaron.com Git - emacs.git/commit
insert-file-contents unexpected end shrinkage
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 13 Jul 2025 07:07:46 +0000 (00:07 -0700)
committerEshel Yaron <me@eshelyaron.com>
Thu, 24 Jul 2025 08:49:01 +0000 (10:49 +0200)
commitb8f3fcf2b8ef95e2b75958da819731aedb1a1238
tree377ac1b7ab09e75b9c490f8821535d66d8a12bb5
parentf7f6a1a826db574c4ba60b3845026cd23b5ddb75
insert-file-contents unexpected end shrinkage

* src/fileio.c (Finsert_file_contents): If the file unexpectedly
shrinks while reading its tail backwards, give up searching for
the match end.

(cherry picked from commit f4adb56c9adc9b4f4715c656f1f8cfa7305479e5)
src/fileio.c