# HG changeset patch # User Richard M. Stallman # Date 766448794 0 # Node ID a52a5141fecb6337b819bbe4816f033fd08d9a43 # Parent a4ce1a6d7423fd64644ae0fea471d246e3c86181 (Finsert_file_contents): Fix test for unchanged file. diff -r a4ce1a6d7423 -r a52a5141fecb src/fileio.c --- a/src/fileio.c Fri Apr 15 22:05:41 1994 +0000 +++ b/src/fileio.c Fri Apr 15 22:26:34 1994 +0000 @@ -2670,7 +2670,7 @@ immediate_quit = 0; /* If the file matches the buffer completely, there's no need to replace anything. */ - if (same_at_start == ZV) + if (same_at_start == st.st_size) { close (fd); specpdl_ptr--;