csync_vio_local_stat: Win: fetch mtime and size if not previously fetched
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 21 Dec 2015 13:25:30 +0000 (14:25 +0100)
committerOlivier Goffart <ogoffart@woboq.com>
Mon, 21 Dec 2015 13:25:30 +0000 (14:25 +0100)
commitcf5b1e401c0e0c8284bcfd8c12721a09175ed1b4
tree0a2134b2e62743a4ac2bde3e527f5189f8ea0ec1
parent11174ddf4cb3283548dd0fa13ca5c45a02c3e224
csync_vio_local_stat: Win: fetch mtime and size if not previously fetched

Since owncloud 2.1, csync_vio_local_stat was optimized because readdir
would already fetch most of the info.  This works for the discovery,
but not later.  And we used this function later for symliks and co.

So this fixes the .lnk on windows

Issue #4300
csync/src/vio/csync_vio_local_win.c
src/libsync/filesystem.cpp