diff options
author | Kai Koehne <kai.koehne@qt.io> | 2018-12-21 12:43:09 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2018-12-22 08:39:27 +0000 |
commit | 446038b9a8b5a2f9b573cbb37be041acd6c93ceb (patch) | |
tree | 7c2651047fb80693be56635e43eb038339f906b3 /tests | |
parent | b0df63cb08fd192b979de2acdffd103ee62c8471 (diff) |
qhelpgenerator: Always return positive values
While some OS allow negative return values, it's not supported
everywhere. Also, negative values are often used for error handling
in invocation API.
In particular, we want to use execve in the qcollectiongenerator
binary, but execve uses -1 to indicate a failure in the launching
itself.
Change-Id: Icf74e6d002088d7ea1de12d0705f08265396ce42
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions