]> git.eshelyaron.com Git - emacs.git/commit
Improve insert-file-contents on non-regular files
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Feb 2023 01:52:46 +0000 (17:52 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Feb 2023 20:32:58 +0000 (12:32 -0800)
commitb0842671e750be08356425e2fc38251e7b08d5d7
treeb20cd42a82e045a906b9a474a4a7965c92703538
parent5284af27ee5250c631ff4ee2f3d8682f0c5df8bc
Improve insert-file-contents on non-regular files

* src/fileio.c (Finsert_file_contents):
If the file is not a regular file, check REPLACE and VISIT
before doing further syscalls that won’t matter in this case.
src/fileio.c