Subject: bug#13149: 24.3.50; Emacs thinks file was changed outside Emacs, but it was not

From: Eli Zaretskii <[email-masked]>
Date: Fri, 18 Jan 2013 09:56:32 +0200

> Date: Thu, 17 Jan 2013 21:25:31 -0800
> From: Paul Eggert <[email-masked]>
> CC: [email-masked], Eli Zaretskii <[email-masked]>
> 
> On 01/17/2013 09:10 PM, Dmitry Gutov wrote:
> > cifs:
> > 
> > 1358485764.638001400 fstat
> > 1358485764.638001400 lstat
> > 1358485764.638001400 stat
> > *
> > 1358485764.638001400 fstat
> > 1358485764.638001400 lstat
> > 1358485764.638001400 stat
> 
> That looks busted, since there's
> a 10 ms sleep followed by a write at the two
> points I marked "*" above, which means that
> fstat, lstat, and stat are all wrong after the "*".

Who said anything was actually written to the file?  You'd need
'fsync' to be sure, don't you?