diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2015-10-09 11:13:27 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2015-10-12 15:09:53 +0000 |
commit | a2f6ece27f95eb7cb9940af6ba734d4ba52bf4cb (patch) | |
tree | 36aa1e57bdcaf6280d14b23ffff09cc17a181d6e /src/corelib/io/qfilesystemwatcher_win_p.h | |
parent | 0cfdfcc82ec58b2016f4ab2973343eb85874f27d (diff) |
QLockFile: fix errno handling
In case of a lock failure, we potentially pollute the errno value
before printing it. Also, switch to qt_error_string, as strerror
is not reentrant.
Change-Id: I952aac14204637155726bcefc0ed8a21d7fcd501
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/io/qfilesystemwatcher_win_p.h')
0 files changed, 0 insertions, 0 deletions