Fix a race with verify-visited-file-modtime.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Nov 2012 01:35:14 +0000 (17:35 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Nov 2012 01:35:14 +0000 (17:35 -0800)
commitb95a9c0cba301ef8f1920a1d123ccd6873c14a63
treecb96c62e6c09a18a9e499e5943ab530f67868ae5
parent231d8498eb1a10fadf7a4cd860cc934e05516433
Fix a race with verify-visited-file-modtime.

Since at least 1991 Emacs has ignored an mtime difference of no
more than one second, but my guess is that this was to work around
file system bugs that were fixed long ago.  Since the race is
causing problems now, let's remove that code.
* fileio.c (Fverify_visited_file_modtime): Do not accept a file
whose time stamp is off by no more than a second.  Insist that the
file time stamps match exactly.

Fixes: debbugs:12863
src/ChangeLog
src/fileio.c