Dear Emacs developers, In Emacs 23 and Emacs 24 (built sometime ago from Git repository), "(verify-visited-file-modtime (current-buffer))" sometimes returns 'nil' instead of 't'. This happens often, even if the file has not been modified by another program. One reason is that stat can return an EINTR error. I am running Linux. According to the manpages, stat is not supposed to fail with EINTR under a Posix system (contrary to SVr4), but this is what I observe. I checked with a call to printf right after the error, and I got errno == 4 which is EINTR here. After exposing this on IRC #emacs, I was told it could be due to the NFS mount (with option "intr") as the files are on a network NFS volume. Hence I modified fileio.c to call stat again after an EINTR error is raised. I attach the patch. If it is confirmed that stat can return EINTR, there might be other calls to stat in Emacs that need the correction.