diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-04-06 19:11:34 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-05-08 09:45:46 +0000 |
commit | 9f59b055f56ccebaa3d272d153c74fb889958a8a (patch) | |
tree | 8407114b4fc6f03dccfda236afb0d6e44ab86302 /libasm | |
parent | e5cde7378c246a32d7dbc3bff8db15befad8b1a9 (diff) |
Adapt debug info fstat check for windows
On windows the resulting ino and dev entries are always 0, so the file
would always be discarded. We apply a heuristic instead: If the ctime,
mtime, mode and size of the two files are all equal then we consider
them to be the same. It's exceedingly unlikely to produce two different
files for which that holds by chance.
Change-Id: I491c95ab8b90fc3c1b786cceae242e142b5a491f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'libasm')
0 files changed, 0 insertions, 0 deletions