On Fri, Mar 10, 2017 at 11:28:45AM +0100, Jean-Marc Lasgouttes wrote:

> Hello,
> 
> The attached patch looks straightforward to me, but since this is a
> sensitive area in terms of portability, I would like some people to take a
> quick look at it.

I think that a problem could arise only if the file is a symlink.
In this case, stat() resolves it and returns information about the
pointed-to file. It is not very clear what QFileInfo::lastModified()
does. Skimming the docs, it maybe does the same, possibly except on
native Windows. BTW, what's the problem in considering the file as non
existing if stat() does not return 0?

-- 
Enrico

Reply via email to