qt5base-lts/src
Alex Trotsenko 1bed4a2565 QLocalSocket/Win: add missing check to waitForBytesWritten()
Calling pipeWriter->checkForWrite() can indirectly close the socket
even if the bytesWritten() signal has not been sent. So, we need to
make sure the handle is valid before checking pipe state in the
reader.

There is no harm in calling PeekNamedPipe() with an invalid handle,
but the wrong call should be avoided.

This patch amends b2c3b3e8fe.

Change-Id: I5d2ecbbbe0af817aac68ad6f1173b0ed9b324e98
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2021-10-05 08:32:58 +03:00
..
3rdparty Android: fix Gradle version in qt_attribution file 2021-10-02 12:11:16 +00:00
android Android: remove comments from the manifest file 2021-10-02 12:11:23 +00:00
concurrent Remove checks for features available in C++17 2021-10-02 17:54:39 +02:00
corelib QPlugin: pass the direct header to qJsonFromRawLibraryMetaData() 2021-10-04 21:51:50 -07:00
dbus Doc: Add overview pages to CMake API 2021-10-04 15:55:10 +02:00
entrypoint Adjust the EntryPoint target name according to the internal module naming policy 2021-06-15 12:51:49 +02:00
gui Respect font stretch if set together with font style 2021-10-04 16:10:11 +02:00
network QLocalSocket/Win: add missing check to waitForBytesWritten() 2021-10-05 08:32:58 +03:00
opengl Add some debug warnings to the GL paint engine regarding stencil 2021-09-23 16:27:59 +02:00
openglwidgets Migrate to autogenerated cpp exports 2021-06-25 19:33:12 +02:00
platformsupport High resolution wheel-event support from libinput 2021-09-18 15:39:07 +00:00
plugins Include <QHash> explicitly 2021-10-01 12:36:48 +02:00
printsupport Doc: Remove unsupported customFilters 2021-09-03 15:14:59 +00:00
sql Doc: Remove unsupported customFilters 2021-09-03 15:14:59 +00:00
testlib Use %.6g rather than %s and QByteArray::number() 2021-10-01 19:24:31 +02:00
tools QPlugin: move some of the logic from moc's output to qplugin.h 2021-10-04 14:01:34 -07:00
widgets Doc: Add summary to CMake commands 2021-10-04 15:55:10 +02:00
xml Doc: Remove unsupported customFilters 2021-09-03 15:14:59 +00:00
CMakeLists.txt Make it possible to disable the PrintSupport module 2021-02-09 09:17:21 +01:00