aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorPaul Eggert2025-07-13 10:55:14 -0700
committerPaul Eggert2025-07-13 21:09:39 -0700
commit55f41ca3aa8fe487d10730708a7396137a2c9d18 (patch)
treeaddad6d26781ef8a15618154799489787cdc5cc9 /java
parent8ac78986ff7028c249f136b3523dacf0693c22d3 (diff)
downloademacs-55f41ca3aa8fe487d10730708a7396137a2c9d18.tar.gz
emacs-55f41ca3aa8fe487d10730708a7396137a2c9d18.zip
insert-file-contents file shrinkage in scanback
* src/fileio.c (emacs_full_read): New function. (Fcopy_file, Finsert_file_contents): Use it. (Finsert_file_contents): Check for partial reads when scanning backwards through the file’s tail, as this indicates the file shrank while we read it. Also, use emacs_full_read in other situations where it’s simpler and should be a bit faster.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions