diff options
author | Frank Richter <frank.richter@gmail.com> | 2016-10-18 12:36:23 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2018-01-18 07:52:43 +0000 |
commit | 1aae404a4cf7f92d4135c1b24a3b6efef6c54708 (patch) | |
tree | dc6a0be0bd3e353579efc420ce85cb82c132192e /src/plugins/platformthemes | |
parent | a57585961823cfc4d9a20ffd5dde3520c9229d61 (diff) |
QProcess/Windows: Include PID in pipe names
Although qt_create_pipe() tries again if the pipe name is already
in use, it doesn't handle the case when another user has created
the pipe with the name (the error is "access denied" in that case).
The chance that it happens is small, but it can be entirely
eliminated by including a unique part in the pipe name, in this
case the PID.
[ChangeLog][Windows] Named pipes internally created by QProcess now
contain the PID in their name to ensure uniqueness.
Change-Id: I079f1b68695c1ddea3eccad241061d11e08b60f4
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platformthemes')
0 files changed, 0 insertions, 0 deletions