decrease failure rate of QProcess (#561203) on hppa ~100+ times
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Tue, 22 Aug 2023 13:42:24 +0000 (14:42 +0100)
committerRoberto C. Sánchez <roberto@debian.org>
Tue, 22 Aug 2023 13:42:24 +0000 (14:42 +0100)
commit38939b92e83612a0e1e7e06269792e2a7f8595dd
treec99eac2afe3544664640cd03e106cef297d21df2
parent6fe2d3342ebdb5035220ca6853b727cd3df83c18
decrease failure rate of QProcess (#561203) on hppa ~100+ times

The patch adds a usleep() of 1000 before fork() in QProcess on hppa. This hack
seems to bring down likelihood of failure caused by #561203 from ~ 1/6 to
~1/1000 when run in a row. Hopefully, this will make failures rare enough
 not to cause FTBFSes.
 Degradation in performance should not be very significant and is acceptable.
Author: Modestas Vainius <modax@debian.org>
Author: Fathi Boudra <fabo@debian.org>
Forwarded: not-needed
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561203
Origin: vendor
Last-Update: 2011-12-26

Gbp-Pq: Name 99_hppa_bug561203_decrease_failure_rate.diff
src/corelib/io/qprocess_unix.cpp