* src/fileio.c (Finsert_file_contents): Use del_range_byte,
not del_range_1, since we are passing byte counts, not
character counts. Problem reported by Pip Cet (Bug#77315).
(cherry picked from commit
4c4f68be4b7506502c6a4b133b02bb34f097496d)
clear_unwind_protect (fd_index);
/* Truncate the buffer to the size of the file. */
- del_range_1 (same_at_start, same_at_end, 0, 0);
+ del_range_byte (same_at_start, same_at_end);
goto handled;
}