comparison src/fileio.c @ 6898:a52a5141fecb

(Finsert_file_contents): Fix test for unchanged file.
author Richard M. Stallman <rms@gnu.org>
date Fri, 15 Apr 1994 22:26:34 +0000
parents 653504b6b5dd
children f67c02c50e2a
comparison
equal deleted inserted replaced
6897:a4ce1a6d7423 6898:a52a5141fecb
2668 break; 2668 break;
2669 } 2669 }
2670 immediate_quit = 0; 2670 immediate_quit = 0;
2671 /* If the file matches the buffer completely, 2671 /* If the file matches the buffer completely,
2672 there's no need to replace anything. */ 2672 there's no need to replace anything. */
2673 if (same_at_start == ZV) 2673 if (same_at_start == st.st_size)
2674 { 2674 {
2675 close (fd); 2675 close (fd);
2676 specpdl_ptr--; 2676 specpdl_ptr--;
2677 goto handled; 2677 goto handled;
2678 } 2678 }