summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-05-25 10:43:34 -0300
committerThiago Macieira <thiago.macieira@intel.com>2018-05-30 03:57:36 +0000
commit28ab81158feced7122b1655cbe1418343fe5db68 (patch)
treeb4a8e219d10c9982e35fafa201bd49e1453cebd3 /src/gui/opengl
parentb9dc4f7a961ef8526597e92b5ce413fc310240f2 (diff)
forkfd: Restore errno on exit from the SIGCHLD handler
I'd never thought about it, but it is a requirement: a signal handler must leave the global state as it found it (except for those bits that it intended to change, and those must be done in an async-signal-safe way). Otherwise, errno could change from one line to the next in the middle of some code. [ChangeLog][QtCore][QProcess] On Unix, the QProcess SIGCHLD handler now restores errno on exit. Task-number: QTBUG-68472 Change-Id: If025d476890745368955fffd1531e7126f1436d9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/gui/opengl')
0 files changed, 0 insertions, 0 deletions