qt5base-lts/tests/auto/tools
Thiago Macieira f3205a4949 Merge qt_error_string and QSystemError
This removes a lot of duplicated code that existed in both qglobal.cpp
and qsystemerror.cpp, including the hack to get the correct strerror_r
signature.

This removes the incorrect use of EACCES, EMFILE, ENOENT, and ENOSPC
from qt_error_string on Windows. qt_error_string is supposed to be used
only with Win32 error codes from GetLastError(), despite there being a
lot of uses in cross-platform and even Windows-specific code that pass
errno constants.

It may or may not work: that depends on whether the constants happen to
match. ENOENT matches ERROR_FILE_NOT_FOUND and one could argue that
ENOSPC matching ERROR_OUT_OF_PAPER is acceptable, but EMFILE isn't the
same as ERROR_BAD_LENGTH nor is EACCES, ERROR_INVALID_DATA.

Change-Id: I1eba2b016de74620bfc8fffd14cccb7f77f4b510
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-07-18 15:51:22 +00:00
..
moc Moc: Don't error out when parsing namespace __identifier(...) 2017-06-19 07:32:18 +00:00
qdbuscpp2xml remove unnecessary references to $$QMAKE_CFLAGS_DBUS 2016-10-04 20:21:28 +00:00
qdbusxml2cpp remove unnecessary references to $$QMAKE_CFLAGS_DBUS 2016-10-04 20:21:28 +00:00
qmake Preserve last modification timestamps of installed files 2017-04-12 15:50:51 +00:00
qmakelib Merge qt_error_string and QSystemError 2017-07-18 15:51:22 +00:00
rcc Make it possible to specify the RCC data version format 2017-02-28 08:44:50 +00:00
uic uic: Fix possible crash when reading the size hint property 2017-06-13 06:56:10 +00:00
tools.pro add test for the qmake library 2015-02-25 13:54:33 +00:00