diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2021-11-16 19:26:05 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-11-18 18:13:20 +0100 |
| commit | 4515c5e4fc17500cd42e19619ffb3bc6bee46425 (patch) | |
| tree | 393b88bc2f0b979d139365f432484de2d3aaf62c /src/network/kernel/qhostinfo_unix.cpp | |
| parent | 2ad5fd36fb0b77040113e93323911fbd5c3ccb49 (diff) | |
Use a QVarLengthArray for FatalSignalHandler's alternate stack
The stack needs to be at least SIGSTKSZ, which isn't constexpr, so we
can't allocate it at compile time. However, we can resize(SIGSTKSZ) a
QVarLengthArray that's probably big enough anyway. At the same time,
increase the compile-time size to 32k, to match what our Catch2
harness for the self-test uses.
Change-Id: I3a34ece73901dd402672cd6fe4da66923f1932c8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network/kernel/qhostinfo_unix.cpp')
0 files changed, 0 insertions, 0 deletions
