(Finsert_file_contents): Fix test for unchanged file.

This commit is contained in:
Richard M. Stallman 1994-04-15 22:26:34 +00:00
parent 7cdedc3fad
commit e846c982e6

View file

@ -2670,7 +2670,7 @@ and (2) it puts less data in the undo list.")
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--;