# HG changeset patch # User Richard M. Stallman # Date 762754754 0 # Node ID b094b321b4a667c2079bbaf279a0eabaff7c5dad # Parent 74fcc9007c39b7185ca582e6ba39c3c52e8adecc (Finsert_file_contents): Pass del_range_1 two ends, not a length. diff -r 74fcc9007c39 -r b094b321b4a6 src/fileio.c --- a/src/fileio.c Fri Mar 04 04:03:46 1994 +0000 +++ b/src/fileio.c Fri Mar 04 04:19:14 1994 +0000 @@ -2681,7 +2681,7 @@ /* Arrange to read only the nonmatching middle part of the file. */ XFASTINT (beg) = same_at_start - BEGV; XFASTINT (end) = st.st_size - (ZV - same_at_end); - del_range_1 (same_at_start, same_at_end - same_at_start, 0); + del_range_1 (same_at_start, same_at_end, 0); /* Insert from the file at the proper position. */ SET_PT (same_at_start); }