* fileio.c (Finsert_file_contents): Don't put tail into head area,
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 13 Dec 2012 19:35:10 +0000 (11:35 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 13 Dec 2012 19:35:10 +0000 (11:35 -0800)
commit4c95c9a594ade5a642e32be77ff58b60a89b7a7a
tree8bd6a1b65c19498962b63f6bac7ce610b32675d4
parentce0440ff9661d84a7632379923af8449986ca56e
* fileio.c (Finsert_file_contents): Don't put tail into head area,

as that confuses set-auto-coding, so insist on the head-read
returning the full 1024 bytes.  Let lseek compute the tail offset;
less work for us.  Do not ignore I/O errors when reading the tail.
src/ChangeLog
src/fileio.c