Fix sigchld-Handler
authorH. Rittich <rittich@math.uni-wuppertal.de>
Wed, 25 Sep 2013 18:35:18 +0000 (20:35 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 18 Oct 2013 15:41:15 +0000 (17:41 +0200)
commitcf851c8577e796edac462fe3e060e80b11ec025f
tree808671c7656e4f2892799958c9fae129560fd63e
parent7126cdf48f5e28f1c2238c35960350921f849881
Fix sigchld-Handler

Changed the sigchld-Handler such that the SA_SIGINFO flag is handeled
correctly. Furthermore the signal mask is preserved such that the original
signal handler is not interrupted when not allowed.

Backport of the patch that was added to qtbase (Qt5) in
  97279d05822a70da1fb3dab083d823a5f5a008fe
also contains the fix from
  f83fa3c95e9ac6badc393c198c8bc08bc45bea96
.

Task-number: QTBUG-32979
Change-Id: Iec7663e7289ea5d95155f52cf8788ebf646cfabd
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/io/qprocess_unix.cpp