diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-08-07 01:31:13 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-10 00:04:17 -0700 |
commit | 342479586d1f34a2b7f3d1d69037cb0d631489fa (patch) | |
tree | 2d02f1ade84df54f70e632c245b63a6aae7a65a1 /planner.h | |
parent | 7e50711bd38cd9dcc36693dfc0330f5e1d565700 (diff) | |
download | subsurface-342479586d1f34a2b7f3d1d69037cb0d631489fa.tar.gz |
Planner: use the heap for note buffers
The default stack size on Windows per thread is 1024kb.
Using the heap prevents a stack overflow in add_plan_to_notes().
The alternative is to tell the linker to use N bytes of stack:
-Wl,--stack,N
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.h')
0 files changed, 0 insertions, 0 deletions