summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp-cstr.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-02-13 12:32:11 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2023-02-13 12:32:59 -0800
commitb950b46f514989442fdd9937a0e96d53a3affa88 (patch)
treecf02f481ec03906bdc17caa5baea265eeee28280 /lisp/emacs-lisp/comp-cstr.el
parentbae5fa5d9a8ef8c41fbb3408eea441a2ee14d1db (diff)
downloademacs-b950b46f514989442fdd9937a0e96d53a3affa88.tar.gz
emacs-b950b46f514989442fdd9937a0e96d53a3affa88.tar.bz2
emacs-b950b46f514989442fdd9937a0e96d53a3affa88.zip
Fix insert-file-contents on /proc files
This should fix Bug#9800 (2011-10-19). * src/fileio.c (Finsert_file_contents): Do not trust st_size even on regular files, as the file might be a Linux /proc file, or it might be growing. Instead, always read to EOF when END is nil.
Diffstat (limited to 'lisp/emacs-lisp/comp-cstr.el')
0 files changed, 0 insertions, 0 deletions