diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-05-02 17:25:26 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-05-05 20:35:42 -0700 |
commit | 046bc971c325202018a17eff8cc0846c43bb7d03 (patch) | |
tree | 7c56ea21b32fbd26db0f5d164d0f26a9a8286046 /src/plugins | |
parent | f1f29c35cba226407cc5fa20bf48b87620850b05 (diff) |
qtestcase/Unix: remove fprintf from signal handler
It's not async-signal-safe, so don't use it. Instead, let's use writev()
(which should write atomically and we won't need to have a buffer) and
std::to_chars to format numbers where available (where not, we roll out
our own implementation with divisions).
Pick-to: 6.3
Change-Id: I5ff8e16fcdcb4ffd9ab6fffd16eb70a158f44864
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions